-
Notifications
You must be signed in to change notification settings - Fork 683
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
improve v2 rate-limiter #380
Conversation
Signed-off-by: dmaiocchi <sodar@riseup.net>
Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). 📝 Please visit https://cla.developers.google.com/ to sign. Once you've signed (or fixed any issues), please reply here with What to do if you already signed the CLAIndividual signers
Corporate signers
ℹ️ Googlers: Go here for more info. |
@googlebot I signed it! 🏭 |
bf9ce4b
to
41973c9
Compare
Codecov Report
@@ Coverage Diff @@
## v2 #380 +/- ##
===========================================
- Coverage 83.58% 64.21% -19.37%
===========================================
Files 30 34 +4
Lines 932 897 -35
===========================================
- Hits 779 576 -203
- Misses 114 265 +151
- Partials 39 56 +17
Continue to review full report at Codecov.
|
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.
LGTM, just some thoughts. Hope this makes sense (:
Let me know when it's good for another review 🤗 Fixes #351 |
@bwplotka yop I will work this week. thx for feedback. I own you a cake or something 😁 |
5a222db
to
56ffdd7
Compare
@bwplotka I do have reworked a bit the PR with providers. A part of the conflict file, I do have some doubts. I would appreciated if you have any feedback. when Running
I can't follow-up this error since I do have changed the interface to accept error. 🤔 Right now I don't know if the issue is cause because of some golang modules/import messiness or some other reason.. Will check more in details but if you have any hint/lights would be great ❤️ |
Yes. This is major problem with multi modules. you need to play with But ideal flow is:
Done (: |
@bwplotka thx for confirmation, will play with that |
56ffdd7
to
6bfe427
Compare
@bwplotka take look on this. I have splitted the PR in 2 parts. The 1st part , (this here) will just implement the The 2nd part PR follow-up will base on this and implement what I was doing previously TIA 🌻 |
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.
Solid.
Lgtm! Let's fix comment if you want (:
@bwplotka ok I missed the comment. should be fine now |
Signed-off-by: dmaiocchi <sodar@riseup.net>
9ad4743
to
2daa367
Compare
thx @bwplotka will follow-up with 2nd ❤️ |
Descriptions:
This PR improve the rate-limit interceptor changing interface.
Links:
This PR is follow-up of discussion at thanos-io/thanos#3654