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

Add error logical.ErrUpstreamRateLimited and return 502 from RespondCommonError #5216

Merged
merged 4 commits into from
Sep 6, 2018

Conversation

catsby
Copy link
Contributor

@catsby catsby commented Aug 28, 2018

Add error type ErrUpstreamRateLimited to the logical package errors and return a http. StatusBadGateway error in RespondErrorCommon if encountered.


Copy link
Contributor

@tyrannosaurus-becks tyrannosaurus-becks left a comment

Choose a reason for hiding this comment

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

This looks great! I'd wait for a second approval from someone on the core team before merging though.

jefferai
jefferai previously approved these changes Sep 5, 2018
@jefferai
Copy link
Member

jefferai commented Sep 5, 2018

Looks good and it doesn't really affect anything so I think can be merged now.

@catsby catsby merged commit f931bf0 into master Sep 6, 2018
@catsby catsby deleted the respond-upstream-throttle branch September 6, 2018 16:07
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