fix: when enable rate limiter auto tune, bandwidth should be higher a…#3093
Conversation
…s upper bound. fix #3084
WalkthroughThe configuration logic for the rate limiter was updated so that when the "rate-limiter-auto-tuned" option is enabled, the rate limiter bandwidth is forcibly set to 10 GB/s, overriding any previously set or default value. No changes were made to public interfaces or exported declarations. Changes
Assessment against linked issues
Poem
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Actionable comments posted: 1
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
src/pika_conf.cc(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (4)
- GitHub Check: build_on_macos
- GitHub Check: build_on_ubuntu
- GitHub Check: build_on_centos
- GitHub Check: Analyze (go)
| GetConfStr("rate-limiter-auto-tuned", &at); | ||
| rate_limiter_auto_tuned_ = at == "yes" || at.empty(); | ||
| // if rate limiter autotune enable, `rate_limiter_bandwidth_` will still be respected as an upper-bound. | ||
| if (rate_limiter_auto_tuned_) { |
There was a problem hiding this comment.
I think this value can be changed to be set as dynamically configurable in the configuration file
…s upper bound. fix #3084
Summary by CodeRabbit