Skip to content

Commit 856b5cb

Browse files
authored
fix: 300s block timeout (#646)
Signed-off-by: Chris Gianelloni <[email protected]>
1 parent 85c6b0b commit 856b5cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

protocol/chainsync/chainsync.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,10 +241,10 @@ func NewConfig(options ...ChainSyncOptionFunc) Config {
241241
PipelineLimit: 0,
242242
IntersectTimeout: 5 * time.Second,
243243
// We should really use something more useful like 30-60s, but we've seen 55s between blocks
244-
// in the preview network
244+
// in the preview network and almost 240s in preprod
245245
// https://preview.cexplorer.io/block/cb08a386363a946d2606e912fcd81ffed2bf326cdbc4058297b14471af4f67e9
246246
// https://preview.cexplorer.io/block/86806dca4ba735b233cbeee6da713bdece36fd41fb5c568f9ef5a3f5cbf572a3
247-
BlockTimeout: 180 * time.Second,
247+
BlockTimeout: 300 * time.Second,
248248
}
249249
// Apply provided options functions
250250
for _, option := range options {

0 commit comments

Comments
 (0)