-
Notifications
You must be signed in to change notification settings - Fork 671
Retry additional http transient errors #1904
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Retry additional http transient errors #1904
Conversation
413dd16
to
3e6fef1
Compare
Running perfectly 👍
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for taking over @Sineaggi. I just have 2 quick questions here.
4928675
to
7f0d3d2
Compare
@nejch Can you re-review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks again @Sineaggi, I was on holiday so there was a bit of delay there. I just made one last pass and just noticed some duplicate code. Could you clean that up?
We could probably also make the test code a bit shorter but that's for later perhaps. Thanks!
I'll make sure this makes it into the next release so I can also pause the scheduled release for the 28th until this is merged, if needed.
7f0d3d2
to
5cbbf26
Compare
Based on python-gitlab/python-gitlab#1904 (We really need to switch to python-gitlab under the hood...)
Based off of #1648
This adds additional retries for the 52x caused by cloudflare.
This adds tests for the 52x range and the
requests.ConnectionError
exception