Skip to content

Commit

Permalink
feat: retry on 'Max retries exceeded with url'
Browse files Browse the repository at this point in the history
  • Loading branch information
BobTheBuidler committed Sep 13, 2022
1 parent 27e7cac commit 1eb591c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eth_retry/eth_retry.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ def should_retry(e: Exception, failures: int) -> bool:
# Occurs on any chain when making computationally intensive calls. Just retry.
# Sometimes works, sometimes doesn't. Worth a shot.
'execution aborted (timeout = 5s)',
'max retries exceeded with url',
'temporary failure in name resolution',

# From block explorer while interacting with api. Just retry.
Expand Down

0 comments on commit 1eb591c

Please sign in to comment.