diff --git a/scripts/download-from-binary-cache.pl.in b/scripts/download-from-binary-cache.pl.in index b7eb72a30..e09b051a4 100644 --- a/scripts/download-from-binary-cache.pl.in +++ b/scripts/download-from-binary-cache.pl.in @@ -68,6 +68,7 @@ sub addRequest { $curl->setopt(CURLOPT_NOBODY, 1) if $head; $curl->setopt(CURLOPT_FAILONERROR, 1); $curl->setopt(CURLOPT_CONNECTTIMEOUT, $curlConnectTimeout); + $curl->setopt(CURLOPT_TIMEOUT, 20 * 60); if ($activeRequests >= $maxParallelRequests) { $scheduled{$curlId} = 1;