blockchain-core icon indicating copy to clipboard operation
blockchain-core copied to clipboard

Snapshot timeout window configurable

Open JackeyTY opened this issue 3 years ago • 1 comments

Currently, snapshot timeout window is set to connection timeout 1 mins and download timeout 15mins, but for customers with poor internet connectivity, this could be not enough, resulting in failure to catch up with the blockchain and not being able to POC.

2021-12-20 16:32:59.634 1 [error] <0.12770.0>@blockchain_worker:start_snapshot_sync:1034 snapshot download or loading failed because {error,timeout}: [{blockchain_worker,do_snap_source_download,2,[{file,\\'blockchain_worker.erl\\'},{line,1150}]},{blockchain_worker,'-start_snapshot_sync/4-fun-0-',6,[{file,\\'blockchain_worker.erl\\'},{line,1021}]}]'

It would be helpful to set timeout limit configurable in sys.config, so that manufactures can adjust it based on users' need.

JackeyTY avatar Dec 21 '21 18:12 JackeyTY

@JackeyTY - We have several miners in our fleet with the same issue, did you manage to find workarounds for now? We are investigating all probable causes, but we think that almost all time, the issue is definitely the connection speed.

controllinohelium avatar Feb 20 '22 16:02 controllinohelium

What is the solution?

erfanjhan avatar Mar 05 '24 17:03 erfanjhan

This repo has been archived since the transition to Solana in April 2023

madninja avatar Mar 05 '24 18:03 madninja