Browse Source

Add missing increment.

master
rewby 9 months ago
parent
commit
7ef0080143
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      main.py

+ 1
- 0
main.py View File

@@ -33,6 +33,7 @@ def retry_failures(fn, msg, *args, **kwargs):
except Exception:
logging.exception(msg)
delay = min(2 ** tries, 64)
tries = tries + 1
time.sleep(delay)




Loading…
Cancel
Save