diff --git a/queue.js b/queue.js index b3ea7e4..d3ae3a3 100644 --- a/queue.js +++ b/queue.js @@ -22,7 +22,7 @@ q.saturated = function() { // 当最后一个任务交给worker时,将调用该函数 q.empty = function() { - log('no more tasks wating'); + log('no more tasks waitng'); } // 当所有任务都执行完以后,将调用该函数