From ab5c63eff328448817dca2da7c5d372d86d6e325 Mon Sep 17 00:00:00 2001 From: Sam Kleinman Date: Tue, 13 Jul 2021 13:04:18 -0400 Subject: [PATCH] statesync: increase dispatcher timeout (#6714) --- 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 c75cbe854..97d97b95d 100644 --- a/internal/statesync/reactor.go +++ b/internal/statesync/reactor.go @@ -95,7 +95,7 @@ const ( // lightBlockResponseTimeout is how long the dispatcher waits for a peer to // return a light block - lightBlockResponseTimeout = 10 * time.Second + lightBlockResponseTimeout = 30 * time.Second // maxLightBlockRequestRetries is the amount of retries acceptable before // the backfill process aborts