diff --git a/ocd_backend/utils/http.py b/ocd_backend/utils/http.py index dea65ba4..e07d6847 100644 --- a/ocd_backend/utils/http.py +++ b/ocd_backend/utils/http.py @@ -94,7 +94,7 @@ def fetch(self, url, path): def download_url(self, url, partial_fetch=False): log.debug('Fetching item %s' % (url,)) - http_resp = self.http_session.get(url, stream=True, timeout=(5, 60, 120), verify=False) + http_resp = self.http_session.get(url, stream=True, timeout=(60, 120), verify=False) http_resp.raise_for_status() # Create a temporary file to store the media item, write the file