-
Notifications
You must be signed in to change notification settings - Fork 719
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
feat: Client Circuit Breaker #930
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## v3 #930 +/- ##
=======================================
Coverage 99.81% 99.81%
=======================================
Files 16 17 +1
Lines 3695 3781 +86
=======================================
+ Hits 3688 3774 +86
Misses 5 5
Partials 2 2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
fb9decd
to
f0d6169
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@segevda - Thanks for the PR. Please incorporate the comments and suggestions.
@ccoVeille - Thanks for your review and input.
f1d00de
to
7884ad5
Compare
@ccoVeille @jeevatkm thanks for the review! |
989054a
to
658a3e8
Compare
@segevda Could you please remove the |
658a3e8
to
87b73cf
Compare
oops. removed |
I feel like I contributed to this PR 😅 Adding a Co-authored-by tag to your commit would be appreciated then 😬
https://docs.github.com/articles/creating-a-commit-with-multiple-authors |
@ccoVeille Certainly, you have contributed via Reviewing PR. This is the first time I received this kind of request. I believe adding a reviewer tag is appropriate as follows -
What do you think? |
GitHub supports co-authored-by natively when the owner or author uses commit feature on the suggestion provided by a contributor. So you may already have commits with such tags.
Yes, sure. Reviewed-By is less used but why not. This tag is automatically added to merge commit on GitLab if the project is configured to support it via the templating system. I don't know if it can be configured on GitHub |
Confirmed, I found one pretty easily: 9097b96 |
About why I asked, there are multiple reasons:
|
87b73cf
to
ab9dda9
Compare
@jeevatkm @ccoVeille squashed the commits with a more conventional commit msg and added the |
Thanks. My request was to have a co-authored-by tag. @jeevatkm agreed and asked to add also the reviewed-by tag. You squashed and used the reviewed-by tag. But now, I'm not getting the tag I asked for 😅 Can I also get the co-authored-by one? Haha |
@segevda, I just reviewed the code suggestion conversation history on this PR. @ccoVeille suggested code snippets, which GitHub typically considers as co-authors. Can you please remove the reviewed-by tag and add the co-authored-by tag? Many thanks for considering my request.
@ccoVeille, if you're interested in contributing further to the documentation examples of the upcoming Resty v3 release, let me know, and I will share the line items. |
Co-authored-by: ccoVeille <[email protected]>
ab9dda9
to
69e85d9
Compare
Done 🙂 |
I could help maybe yes. I can easily review and provide feedbacks about PR. I can do it from my couch, as I do now. Coding changes requires more efforts 😅 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @segevda, for incorporating the review comments and the request.
@ccoVeille I meant creating a new example in documentation, not PR feedback. Of course, you could chime in when you see a PR. |
Adds a circuit breaker to resty.Client which disables requests for a specified period of time upon multiple failures.
Default behavior is counting 5xx errors, but users can implement their own policies.
Resolves #448