-
Notifications
You must be signed in to change notification settings - Fork 180
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
[Access] Response limit tracker #6814
base: master
Are you sure you want to change the base?
[Access] Response limit tracker #6814
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6814 +/- ##
=======================================
Coverage 41.18% 41.18%
=======================================
Files 2109 2109
Lines 185660 185664 +4
=======================================
+ Hits 76460 76467 +7
+ Misses 102788 102784 -4
- Partials 6412 6413 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@Guitarheroua please address merge conflicts |
…isarchuk/6640-responce-limit-tracker
@@ -257,6 +261,11 @@ func (c *Controller) writeMessages(ctx context.Context) error { | |||
return nil | |||
} | |||
|
|||
// wait for the rate limiter to allow the next message write. |
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.
I feel like this is a redundant comment. The code is pretty clear
Closes: #6640
NOTE: this PR should be merged after #6798
Implements rate limiter for responses, that controller returns to client.