Skip to content

Commit

Permalink
fix: 300s block timeout
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Gianelloni <wolf31o2@blinklabs.io>
  • Loading branch information
wolf31o2 committed Jun 5, 2024
1 parent cb5ccad commit fa0afcb
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit fa0afcb

Please sign in to comment.