Skip to content

Support fixed mbus throttle window size via env var#35968

Merged
bjorncs merged 1 commit intomasterfrom
bjorncs/mbus-throttle-policy
Feb 19, 2026
Merged

Support fixed mbus throttle window size via env var#35968
bjorncs merged 1 commit intomasterfrom
bjorncs/mbus-throttle-policy

Conversation

@bjorncs
Copy link
Member

@bjorncs bjorncs commented Feb 19, 2026

Summary

  • Add support for VESPA_MBUS_THROTTLE_WINDOW_SIZE environment variable in InstrumentedThrottlePolicy
  • When set, pins both min and max window size to the given value, effectively making the policy behave like a static throttle policy
  • When unset, behavior is unchanged (dynamic throttling with current defaults)

Allow overriding the dynamic throttle policy window size by setting
VESPA_MBUS_THROTTLE_WINDOW_SIZE, pinning both min and max window size.
@bjorncs bjorncs requested a review from vekterli February 19, 2026 13:14
Copy link
Member

@vekterli vekterli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@bjorncs bjorncs merged commit d814aaa into master Feb 19, 2026
3 checks passed
@bjorncs bjorncs deleted the bjorncs/mbus-throttle-policy branch February 19, 2026 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments