rearrange task channel

This commit is contained in:
andy pan 2018-05-24 19:32:45 +08:00
parent 07f98b4ac6
commit aaa7bad491
1 changed files with 1 additions and 1 deletions

View File

@ -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)