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 a count based sliding window breaker #93

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

ghost91-
Copy link
Contributor

This PR adds CountBreaker, an additional implementation of IBreaker that implements a count based sliding window. It is inspired by the Count-based sliding window in Resilience4j.

@ghost91- ghost91- force-pushed the add-count-breaker branch 2 times, most recently from c550217 to 65e82fc Compare July 17, 2024 20:03
@ghost91- ghost91- force-pushed the add-count-breaker branch from 65e82fc to 2514ac7 Compare July 17, 2024 20:03
Copy link
Owner

@connor4312 connor4312 left a comment

Choose a reason for hiding this comment

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

Lgtm just two comments

src/breaker/CountBreaker.ts Show resolved Hide resolved
src/breaker/CountBreaker.ts Show resolved Hide resolved
@ghost91-
Copy link
Contributor Author

@connor4312 thanks a lot for the quick review. I answered your comments, could you take a look at that? Depending on your opinion, I can make the suggested adjustments, of course.

@connor4312 connor4312 merged commit 7a9cbdf into connor4312:master Jul 17, 2024
@ghost91-
Copy link
Contributor Author

@connor4312 Could you create a release with this change? Thanks in advance!

@connor4312
Copy link
Owner

I have a couple other changes I want to get in, I'm planning to do a release tonight or tomorrow

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