forked from envoyproxy/envoy
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adaptive concurrency: Fix min_concurrency behavior when gradient shri…
…nks (envoyproxy#9947) The min_concurrency setting dicated the concurrency limit when in a min_rtt calculation window. However, if the gradient caused the concurrency limit to shrink, it was possible for the limit to drop below this configured minimum. This patch fixes this behavior so that the calculated concurrency limit is always >= the configured minimum. In addition, a minor change to the stat indicating whether the min_rtt calculation window is active. When active, the stat was being set to the concurrency limit; however, according to the documentation this should be either 0 or 1. This patch also fixes this behavior. Signed-off-by: Tony Allen <tony@allen.gg>
- Loading branch information
Showing
3 changed files
with
25 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters