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

Decouple service unavailability from 'queue full' 503 errors #16

Merged
merged 1 commit into from
May 27, 2024

Conversation

Michael-JB
Copy link
Contributor

We have a use-case where the API client needs to differentiate 'busy' from 'unavailable'. This PR implements this with the following changes:

  • Add Error::Unavailable and integrate with HTTP error handler
  • Update test case for Error::Busy
  • Add test case for Error::Unavailable

- Add Error::Unavailable and integrate with HTTP error handler
- Update test case for Error::Busy
- Add test case for Error::Unavailable
@Michael-JB Michael-JB requested a review from pacman82 May 27, 2024 14:58
@pacman82 pacman82 merged commit 316d74f into main May 27, 2024
1 check passed
@Michael-JB Michael-JB deleted the api-unavailable-error-path branch May 28, 2024 08:12
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.

None yet

3 participants