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

sliding window based circuit breaker config #1163

Closed
jbspeakr opened this issue Oct 14, 2021 · 2 comments · Fixed by #1235
Closed

sliding window based circuit breaker config #1163

jbspeakr opened this issue Oct 14, 2021 · 2 comments · Fixed by #1235

Comments

@jbspeakr
Copy link
Member

Support sliding window based circuit breaker config.

Detailed Description

Failsafe allows to configure sliding window based circuit breaker config, which is what we actually need in most cases (compared to the ratio based configuration currently exposed).

A time based circuit breaker can be configured to open when a number of failures occur within a time period:

breaker.withFailureThreshold(3, Duration.ofMinutes(1));

Context

riptide-spring-boot-autoconfigure currently seems to not support this time-based approach.

@whiskeysierra
Copy link
Collaborator

Care to submit a pull request?

@fatroom
Copy link
Member

fatroom commented Mar 7, 2022

Released with the version 3.2

@fatroom fatroom closed this as completed Mar 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants