Skip to content

Commit

Permalink
removed debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
xpl committed Sep 24, 2017
1 parent d4d8fd9 commit 05b5cf5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions run-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,13 +178,11 @@ function TaskPool ({ maxTime, maxConcurrency }) {

let p = timeout (maxTime, task ()).then (x => {
numActive--
console.log (numActive)
return (queue.length && (numActive < maxConcurrency))
? queue.shift () ().then (() => x)
: x
})
numActive++
console.log (numActive)
pending.push (p)
return p
}
Expand Down

0 comments on commit 05b5cf5

Please sign in to comment.