Skip to content

Commit

Permalink
Revert "Add a shorter timeout at first. See #454"
Browse files Browse the repository at this point in the history
This reverts commit 4d194f2.
  • Loading branch information
breyten committed Feb 12, 2024
1 parent 3cbb671 commit bb46ebd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocd_backend/utils/http.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bb46ebd

Please sign in to comment.