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

Make half open cancelation configurable #258

Merged

Conversation

peterneyens
Copy link
Contributor

Add a way to make the protected effect uncancelable when changing the state to half open.

This can prevent other errors from keeping the circuit breaker open because the protected effect gets canceled before it can succeed (and close the circuit breaker).

@peterneyens peterneyens force-pushed the uncancelable-half-open branch from bca858d to a91148d Compare April 12, 2023 16:14
@ChristopherDavenport ChristopherDavenport merged commit 210416a into davenverse:main Apr 12, 2023
@peterneyens peterneyens deleted the uncancelable-half-open branch April 12, 2023 17:01
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