File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed
Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -98,11 +98,11 @@ class AsyncQueue {
9898 this . _workerCount ++ ;
9999
100100 // Fire up worker process
101- setImmediate ( ( ) => {
101+ setTimeout ( ( ) => {
102102 this . _worker ( workerData )
103103 . then ( this . _workerFinished )
104104 . catch ( this . _workerFailed ) ;
105- } ) ;
105+ } , 1 ) ;
106106 }
107107
108108 _workerFinished ( response ) {
Original file line number Diff line number Diff line change 11{
2- "name" : " irrelon- async-queue" ,
3- "version" : " 1 .0.3 " ,
2+ "name" : " @ irrelon/ async-queue" ,
3+ "version" : " 2 .0.1 " ,
44 "description" : " A simple async queue processor." ,
55 "main" : " AsyncQueue.js" ,
66 "scripts" : {
1515 "bugs" : {
1616 "url" : " https://github.com/Irrelon/irrelon-async-queue/issues"
1717 },
18- "homepage" : " https://github.com/Irrelon/irrelon-async-queue"
18+ "homepage" : " https://github.com/Irrelon/irrelon-async-queue" ,
19+ "private" : false
1920}
You can’t perform that action at this time.
0 commit comments