From 9a2a8f964c99f177697661e9c98dad59eb968ff5 Mon Sep 17 00:00:00 2001 From: Seebs Date: Fri, 17 Dec 2021 22:22:27 -0600 Subject: [PATCH] fix silly typo in worker pool downscaling --- executor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/executor.go b/executor.go index be4def11a..69bdbf15d 100644 --- a/executor.go +++ b/executor.go @@ -162,8 +162,8 @@ func newExecutor(opts ...executorOption) *executor { // somehow between our test above and now the work // queue FILLED UP and we stoically accept this } + idle = 0 } - idle = 0 return } next := atomic.LoadUint64(&e.workCounter)