Skip to content

Commit

Permalink
Bump to 30 second
Browse files Browse the repository at this point in the history
  • Loading branch information
kannibalox committed Feb 20, 2023
1 parent 61479f8 commit 366b7c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ptpapi/scripts/ptp_origin.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def write_origin(t, args):
if not path.exists() or args.overwrite:
logger.info("Downloading description image %s to %s", url, path)
try:
resp = requests.get(url, timeout=10)
resp = requests.get(url, timeout=30)
except (
requests.exceptions.RequestException,
urllib3.exceptions.HTTPError,
Expand All @@ -148,7 +148,7 @@ def write_origin(t, args):
if not path.exists():
logger.info("Downloading cover %s to %s", movie["Cover"], path)
try:
resp = requests.get(movie["Cover"], timeout=10)
resp = requests.get(movie["Cover"], timeout=30)
except (
requests.exceptions.RequestException,
urllib3.exceptions.HTTPError,
Expand Down

0 comments on commit 366b7c1

Please sign in to comment.