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
211
211
// Action determination with debounce effect
212
212
// Debounce mechanism for scaling down
213
213
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 ) {
215
215
ch .Metrics .ResponseTimeVariability .DebounceScaleDownCount ++
216
216
ch .logger .Info ("Increased debounce counter" , zap .Int ("counter" , ch .Metrics .ResponseTimeVariability .DebounceScaleDownCount ))
217
217
if ch .Metrics .ResponseTimeVariability .DebounceScaleDownCount >= debounceCount {
You can’t perform that action at this time.
0 commit comments