Skip to content

Commit

Permalink
more fixed timeouts to make ai happyer
Browse files Browse the repository at this point in the history
  • Loading branch information
lunamidori5 committed Nov 16, 2024
1 parent 4d61c8e commit ea9425c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Webserver/Programs/Updater/midori_ai_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

# Download and install new programs
for program in program_to_update:
response = requests.get("https://tea-cup.midori-ai.xyz/download/" + program[1], stream=True)
response = requests.get("https://tea-cup.midori-ai.xyz/download/" + program[1], stream=True, timeout=55)
with open(program[1], 'wb') as out_file:
print(f"Downloading program: {program[0]}")
shutil.copyfileobj(response.raw, out_file)
Expand Down

0 comments on commit ea9425c

Please sign in to comment.