Archived
1
0
Fork 0

Change attempt time

This commit is contained in:
多羅狼 2023-09-23 11:10:28 +08:00 committed by GitHub
parent 69dd846e4c
commit 82c80f801f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,7 @@ async def update_assets():
try: try:
static_url = f"https://www.diving-fish.com/maibot/static.zip" static_url = f"https://www.diving-fish.com/maibot/static.zip"
download_file = await download_to_cache(static_url, timeout=120) download_file = await download_to_cache(static_url, timeout=30)
ca = random_cache_path() ca = random_cache_path()
shutil.unpack_archive(download_file, ca) shutil.unpack_archive(download_file, ca)