Browse Source

Oops.

master
rewby 10 months ago
parent
commit
fda5295a04
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      main.py

+ 1
- 0
main.py View File

@@ -34,6 +34,7 @@ def retry_failures(fn, msg, *args, **kwargs):
logging.exception(msg)
delay = min(2 ** tries, 64)
tries = tries + 1
logging.info(f"Sleeping {delay} seconds...")
time.sleep(delay)




Loading…
Cancel
Save