diff --git a/worker_stack.go b/worker_stack.go index f6c2f40..3f6aa1d 100644 --- a/worker_stack.go +++ b/worker_stack.go @@ -5,13 +5,11 @@ import "time" type workerStack struct { items []*goWorker expiry []*goWorker - size int } func newWorkerStack(size int) *workerStack { return &workerStack{ items: make([]*goWorker, 0, size), - size: size, } }