Skip to content

Commit

Permalink
chore: wait longer and longer
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovler-Young committed Jun 19, 2024
1 parent aa7c693 commit 4f318e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion biliarchiver/_biliarchiver_upload_bvid.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ def _upload_bvid(
print(e)
upload_retry -= 1
print(f"Upload failed, retrying ({upload_retry}) ...")
time.sleep(30)
time.sleep(30 * (5 - upload_retry))
assert upload_retry > 0, "Upload failed"

tries = 100
Expand Down

0 comments on commit 4f318e2

Please sign in to comment.