Snapshot timeout window configurable
JackeyTY opened this issue · 3 comments
JackeyTY commented
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.
controllinohelium commented
@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.
erfanjhan commented
What is the solution?
madninja commented
This repo has been archived since the transition to Solana in April 2023