Skip to content

Commit

Permalink
Properly removes autoscaled threads.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alliballibaba2 committed Feb 2, 2025
1 parent 064a368 commit 60b437f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scaling.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ func deactivateThreads() {
logger.Debug("auto-converting thread to inactive", zap.Int("threadIndex", thread.threadIndex))
convertToInactiveThread(thread)
stoppedThreadCount++
autoScaledThreads = append(autoScaledThreads[:i], autoScaledThreads[i+1:]...)

continue
}
Expand Down

0 comments on commit 60b437f

Please sign in to comment.