Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: 300s block timeout #646

Merged
merged 1 commit into from
Jun 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions protocol/chainsync/chainsync.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,10 @@ func NewConfig(options ...ChainSyncOptionFunc) Config {
PipelineLimit: 0,
IntersectTimeout: 5 * time.Second,
// We should really use something more useful like 30-60s, but we've seen 55s between blocks
// in the preview network
// in the preview network and almost 240s in preprod
// https://preview.cexplorer.io/block/cb08a386363a946d2606e912fcd81ffed2bf326cdbc4058297b14471af4f67e9
// https://preview.cexplorer.io/block/86806dca4ba735b233cbeee6da713bdece36fd41fb5c568f9ef5a3f5cbf572a3
BlockTimeout: 180 * time.Second,
BlockTimeout: 300 * time.Second,
}
// Apply provided options functions
for _, option := range options {
Expand Down