-
Notifications
You must be signed in to change notification settings - Fork 319
Closed
Labels
good-first-bugGood for newcomersGood for newcomers
Description
We are currently implementing
Lines 202 to 211 in c84c38f
| def retry(operation, retries=5, wait_between_retries=30): | |
| while True: | |
| try: | |
| return operation() | |
| except Exception: | |
| retries -= 1 | |
| if retries == 0: | |
| raise | |
| time.sleep(wait_between_retries) |
We should instead use a library (e.g. tenacity) and remove this custom retry function.
Metadata
Metadata
Assignees
Labels
good-first-bugGood for newcomersGood for newcomers