Open tgherzog opened 4 years ago
API is prone to responding "503 Service Unavailable" at random intervals, and typically if you wait a few seconds and try again it works. So we might want to add an optional retry mechanism
Here's a way to implement this:
https://stackoverflow.com/questions/567622/is-there-a-pythonic-way-to-try-something-up-to-a-maximum-number-of-times
Hi, I can take a look at this issue.
API is prone to responding "503 Service Unavailable" at random intervals, and typically if you wait a few seconds and try again it works. So we might want to add an optional retry mechanism