diff --git a/pool.go b/pool.go index 05dfe6a..b7b58ef 100644 --- a/pool.go +++ b/pool.go @@ -164,7 +164,7 @@ func (p *Pool) getWorker() *Worker { //} w = &Worker{ pool: p, - task: make(chan f, workerArgsCap), + task: make(chan f), } w.run() //p.workerPool.Put(w)