Skip to content

Commit d74e9ab

Browse files
authored
increase trusted node sync state download timeout to 3 minutes (#6969)
1 parent 085b195 commit d74e9ab

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

beacon_chain/trusted_node_sync.nim

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,14 @@ import
1515
./spec/eth2_apis/rest_beacon_client,
1616
./spec/[beaconstate, eth2_merkleization, forks, light_client_sync,
1717
network, presets,
18-
state_transition, deposit_snapshots],
19-
"."/[beacon_chain_db, era_db]
18+
state_transition, deposit_snapshots]
2019

2120
from presto import RestDecodingError
2221
from "."/beacon_clock import
2322
BeaconClock, fromFloatSeconds, getBeaconTimeFn, init
2423

2524
const
26-
largeRequestsTimeout = 120.seconds # Downloading large items such as states.
25+
largeRequestsTimeout = 3.minutes # Downloading large items such as states.
2726
smallRequestsTimeout = 30.seconds # Downloading smaller items such as blocks and deposit snapshots.
2827

2928
proc fetchDepositSnapshot(

0 commit comments

Comments
 (0)