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

chore: disable circuit breaker on helix bans api #571

Merged
merged 1 commit into from May 15, 2022

Conversation

iProdigy
Copy link
Member

Prerequisites for Code Changes

  • This pull request follows the code style of the project
  • I have tested this feature

Changes Proposed

  • Disable Hystrix Circuit Breaker for TwitchHelix banUser/unbanUser

Additional Information

In #561, we already implemented special logic to handle 429's from these endpoints that induces a pause in further requests.
However, twitch also throws errors from this endpoint in more states that can cause needless circuit break tripping (e.g., trying to (un)ban a bunch of users that are already (un)banned), so this PR disables this hystrix behavior for these specific commands

@iProdigy iProdigy merged commit 7cb737c into develop May 15, 2022
@iProdigy iProdigy deleted the fix/helix-ban-circuit-breaker branch May 15, 2022 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants