Skip to content

Commit da7c73c

Browse files
committed
Increase map data file download timeout
1 parent aa8a976 commit da7c73c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

data-raw/scripts/shapefiles.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def __init__(self, message, code):
1313
self.code = code
1414

1515
def _download_and_extract(file_url: str, extract_dir: str):
16-
response = requests.get(file_url, timeout=30)
16+
response = requests.get(file_url, timeout=300)
1717

1818
if response.status_code != 200:
1919
raise DownloadError(f"Failed to download {file_url}.", code=response.status_code)

0 commit comments

Comments
 (0)