Skip to content

[retries] Allow specifying status codes to retry on #3

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

Merged
merged 2 commits into from
Aug 29, 2024

Conversation

nataliejameson
Copy link

Octocrab's retry logic is... less than ideal. We need to handle both 401
and 429 statuses, so just allow an array of status codes to be checked
against. If one wanted this to be more generic, they could thread some
extra types and such through, but that feels like a bigger thing to do
than what I have here.

Octocrab's retry logic is... less than ideal. We need to handle both 401
and 429 statuses, so just allow an array of status codes to be checked
against. If one wanted this to be more generic, they could thread some
extra types and such through, but that feels like a bigger thing to do
than what I have here.
Copy link
Member

@denbeigh2000 denbeigh2000 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@nataliejameson nataliejameson merged commit f8cd359 into discord Aug 29, 2024
20 of 22 checks passed
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.

2 participants