Open D-Mielewczyk opened 1 year ago
@D-Mielewczyk thank you for your issue submission. simple first suggestion use the delay part in the retry module. secondly we're always open for suggestions via a Pull Request. Implementing a fallback in case of a 429 could be useful. Don't forget to add a test (probably mocking the 429 response would be needed) kind regards
Problem trying to solve
My integration tests regarding a JIRA bot, are sending too many requests and I am getting this exception:
Possible solution(s)
I wish that this library could retry requests that were met with HTTP 429 response after a certain amount of time.
Alternatives
Currently, I am using retry module alongside with some ugly
time.sleep()
lines. If anyone has a better workaround I would be happy to see it.Additional Context
No response