🐠 Adapt worker for explicit functions

This commit is contained in:
Andy Pan 2019-02-02 10:20:55 +08:00
parent a6a76fa753
commit 1d33782287
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ type Worker struct {
pool *Pool pool *Pool
// task is a job should be done. // task is a job should be done.
task chan f task chan func()
// recycleTime will be update when putting a worker back into queue. // recycleTime will be update when putting a worker back into queue.
recycleTime time.Time recycleTime time.Time