changeset 2890:f5ce33d3295c

increased DownloadPackage Timeout since we've seen that 60sec is not always enough
author am@osimis.io
date Mon, 15 Oct 2018 15:33:40 +0200
parents f3c1eda54e47
children 3fabf9a673f6 9ff17eb830ec
files Resources/CMake/DownloadPackage.cmake
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Resources/CMake/DownloadPackage.cmake	Mon Oct 15 13:45:00 2018 +0200
+++ b/Resources/CMake/DownloadPackage.cmake	Mon Oct 15 15:33:40 2018 +0200
@@ -78,9 +78,9 @@
 
       if ("${MD5}" STREQUAL "no-check")
         message(WARNING "Not checking the MD5 of: ${Url}")
-        file(DOWNLOAD "${Url}" "${TMP_PATH}" SHOW_PROGRESS TIMEOUT 60 INACTIVITY_TIMEOUT 60)
+        file(DOWNLOAD "${Url}" "${TMP_PATH}" SHOW_PROGRESS TIMEOUT 300 INACTIVITY_TIMEOUT 60)
       else()
-        file(DOWNLOAD "${Url}" "${TMP_PATH}" SHOW_PROGRESS TIMEOUT 60 INACTIVITY_TIMEOUT 60 EXPECTED_MD5 "${MD5}")
+        file(DOWNLOAD "${Url}" "${TMP_PATH}" SHOW_PROGRESS TIMEOUT 300 INACTIVITY_TIMEOUT 60 EXPECTED_MD5 "${MD5}")
       endif()
 
     else()