From 1352afaaf9fcbca464df1bed132f8bdbf18677c2 Mon Sep 17 00:00:00 2001 From: tersec Date: Wed, 26 Feb 2025 23:25:58 +0000 Subject: [PATCH] increase trusted node sync state download timeout to 3 minutes --- beacon_chain/trusted_node_sync.nim | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/beacon_chain/trusted_node_sync.nim b/beacon_chain/trusted_node_sync.nim index cb8c9fed98..c670c5b710 100644 --- a/beacon_chain/trusted_node_sync.nim +++ b/beacon_chain/trusted_node_sync.nim @@ -15,15 +15,14 @@ import ./spec/eth2_apis/rest_beacon_client, ./spec/[beaconstate, eth2_merkleization, forks, light_client_sync, network, presets, - state_transition, deposit_snapshots], - "."/[beacon_chain_db, era_db] + state_transition, deposit_snapshots] from presto import RestDecodingError from "."/beacon_clock import BeaconClock, fromFloatSeconds, getBeaconTimeFn, init const - largeRequestsTimeout = 120.seconds # Downloading large items such as states. + largeRequestsTimeout = 3.minutes # Downloading large items such as states. smallRequestsTimeout = 30.seconds # Downloading smaller items such as blocks and deposit snapshots. proc fetchDepositSnapshot(