Skip to content

Conversation

@meadsteve
Copy link

I'm working on some software where the dependency that we have wrapped in a circuit breaker sometimes returns an http 429 to indicate it is overwhelmed. In these cases it would be nice to manually trip the breaker as we know any requests in the next X seconds will fail anyway.

meadsteve added 2 commits June 5, 2025 15:13
 ManuallyTrip sets the CircuitBreaker into the open state. This is useful when wrapping an external dependency that returns rate limiting information.  If the dependency is overwhelmed the breaker can be manually tripped straight away to prevent further requests.
 ManuallyTrip sets the CircuitBreaker into the open state. This is useful when wrapping an external dependency that returns rate limiting information.  If the dependency is overwhelmed the breaker can be manually tripped straight away to prevent further requests.
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.

1 participant