cliffano / bagofrequest

A bag-of-holding containing request utility functions
MIT License
1 stars 3 forks source link

Add retry for requests with a delay before trying again #3

Closed dbrain closed 11 years ago

dbrain commented 11 years ago

As the above commit says, I've added wildcard matching on status codes and switched to use async whilst. This will still hit a stack size limit if enough retries happen, but using the default's it'll have to retry for days to hit this.. and there's no great solution to 'async retrying' short of some kind of interval flag checking magic thing that I'd rather not poison the code base with ;)