From 73d14ab9fbe10804462e3e4c4ec89b66867fc4b5 Mon Sep 17 00:00:00 2001 From: Jasmina Malicevic Date: Fri, 15 Jul 2022 16:38:44 +0200 Subject: [PATCH] statesync: increase block response timeout Testing increased timeout --- internal/statesync/reactor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/statesync/reactor.go b/internal/statesync/reactor.go index deed8d0d3..e20fa0cb1 100644 --- a/internal/statesync/reactor.go +++ b/internal/statesync/reactor.go @@ -61,7 +61,7 @@ const ( // lightBlockResponseTimeout is how long the dispatcher waits for a peer to // return a light block - lightBlockResponseTimeout = 10 * time.Second + lightBlockResponseTimeout = 25 * time.Second // consensusParamsResponseTimeout is the time the p2p state provider waits // before performing a secondary call