Skip to content
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 requesting status up to 5 consecutive times when getting 5xx er… #270

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

valentindavid
Copy link

…rors

This should help gitlab in periods where gitlab has network
issues. That happens once in a while, and during this time there are
few 5xx errors (502 and 504). When one happens on a MR status request,
then Marge just unassign the MR, or close and re-opens a new batch.
When 5xx errors happen every 10 minutes, nothing gets merged.

…rors

This should help gitlab in periods where gitlab has network
issues. That happens once in a while, and during this time there are
few 5xx errors (502 and 504). When one happens on a MR status request,
then Marge just unassign the MR, or close and re-opens a new batch.
When 5xx errors happen every 10 minutes, nothing gets merged.
@qqshfox
Copy link
Contributor

qqshfox commented Apr 30, 2021

Thanks for fighting against the bad network. The retry facility would be even more useful if it could be extracted to a decorator.

@nanonyme
Copy link

@qqshfox is that a requirement for this to be merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants