File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ func (ch *ConcurrencyHandler) MonitorResponseTimeVariability(responseTime time.D
211211 // Action determination with debounce effect
212212 // Debounce mechanism for scaling down
213213 const debounceCount = 3 // Threshold must be exceeded in 3 consecutive checks to act
214- if stdDev > (ch .Metrics .ResponseTimeVariability .StdDevThreshold * 1.5 ) {
214+ if stdDev > (ch .Metrics .ResponseTimeVariability .StdDevThreshold * 2 ) {
215215 ch .Metrics .ResponseTimeVariability .DebounceScaleDownCount ++
216216 ch .logger .Info ("Increased debounce counter" , zap .Int ("counter" , ch .Metrics .ResponseTimeVariability .DebounceScaleDownCount ))
217217 if ch .Metrics .ResponseTimeVariability .DebounceScaleDownCount >= debounceCount {
You can’t perform that action at this time.
0 commit comments