From 0a683bbd6e3e983f52dd8b49ecd853f985881e9f Mon Sep 17 00:00:00 2001 From: Jasmina Malicevic Date: Sat, 16 Jul 2022 02:14:13 +0200 Subject: [PATCH] statesync: increase light block 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 3a6599689..73656339c 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 = 20 * time.Second + lightBlockResponseTimeout = 30 * time.Second // consensusParamsResponseTimeout is the time the p2p state provider waits // before performing a secondary call