Increase the timeout of download from 1s to 10s. This is to prevent intermittent... 16/1916/1
authorHashir Mohammed <hashir.mohammed@riftio.com>
Fri, 2 Jun 2017 06:35:20 +0000 (02:35 -0400)
committerHashir Mohammed <hashir.mohammed@riftio.com>
Fri, 2 Jun 2017 06:35:20 +0000 (02:35 -0400)
Signed-off-by: Hashir Mohammed <hashir.mohammed@riftio.com>
common/python/rift/downloader/url.py

index 7ffb999..b6921c5 100644 (file)
@@ -182,7 +182,7 @@ class UrlDownloader(base.AbstractDownloader):
 
     def _download(self):
 
-        url_options = {"verify": False, "timeout": 1}
+        url_options = {"verify": False, "timeout": 10}
 
         if self.auth is not None:
             url_options["auth"] = self.auth