summaryrefslogtreecommitdiff
path: root/pool_supervisor.go
diff options
context:
space:
mode:
Diffstat (limited to 'pool_supervisor.go')
-rw-r--r--pool_supervisor.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pool_supervisor.go b/pool_supervisor.go
index cadf5f9c..93afb8c6 100644
--- a/pool_supervisor.go
+++ b/pool_supervisor.go
@@ -99,7 +99,7 @@ func (sps *staticPoolSupervisor) control() error {
ctx := context.TODO()
// THIS IS A COPY OF WORKERS
- workers := sps.pool.Workers(ctx)
+ workers := sps.pool.Workers()
var totalUsedMemory uint64
for i := 0; i < len(workers); i++ {