-
Notifications
You must be signed in to change notification settings - Fork 702
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
Change QPS type to float64 #6303
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Kevin Su <[email protected]>
Code Review Agent Run #89d79fActionable Suggestions - 0Review Details
|
Changelist by BitoThis pull request implements the following key changes.
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6303 +/- ##
===========================================
+ Coverage 33.82% 57.88% +24.05%
===========================================
Files 1329 774 -555
Lines 147835 57318 -90517
===========================================
- Hits 50004 33176 -16828
+ Misses 92989 21649 -71340
+ Partials 4842 2493 -2349
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: Kevin Su <[email protected]>
Code Review Agent Run #80662dActionable Suggestions - 0Review Details
|
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Signed-off-by: Kevin Su <[email protected]>
Code Review Agent Run #5823fdActionable Suggestions - 0Review Details
|
Tracking issue
NA
Why are the changes needed?
it will allow people to set the qps to 0~1.
What changes were proposed in this pull request?
change the type to float64
How was this patch tested?
Labels
Please add one or more of the following labels to categorize your PR:
This is important to improve the readability of release notes.
Setup process
Screenshots
Check all the applicable boxes
Related PRs
Docs link
Summary by Bito
This PR updates the QPS configuration type from int to float64, enabling fractional values for more precise rate limiting. The changes span core validation logic, command flag definitions, and web API configuration to ensure consistent configuration throughout the system. These modifications affect both production code and test cases, improving flexibility and accuracy for granular control over query rates.Unit tests added: False
Estimated effort to review (1-5, lower is better): 1