forked from lthn/blockchain
pre-downloading: increase timeout and attempt count
This commit is contained in:
parent
f6d99e39bb
commit
bc6b951099
1 changed files with 1 additions and 1 deletions
|
|
@ -88,7 +88,7 @@ namespace tools
|
|||
};
|
||||
|
||||
tools::create_directories_if_necessary(working_folder);
|
||||
r = cl.download_and_unzip(cb, downloading_file_path, url, 1000 /* timout */, "GET", std::string(), 3 /* fails count */);
|
||||
r = cl.download_and_unzip(cb, downloading_file_path, url, 5000 /* timout */, "GET", std::string(), 30 /* fails count */);
|
||||
if (!r)
|
||||
{
|
||||
LOG_PRINT_RED("Download failed", LOG_LEVEL_0);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue