From bc6b9510991d71741764a9c3ac86d27a1d329666 Mon Sep 17 00:00:00 2001 From: sowle Date: Wed, 13 May 2020 10:27:04 +0300 Subject: [PATCH] pre-downloading: increase timeout and attempt count --- src/common/pre_download.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/pre_download.h b/src/common/pre_download.h index d4598207..3b5657c2 100644 --- a/src/common/pre_download.h +++ b/src/common/pre_download.h @@ -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);