Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Commit

Permalink
Reduce processQueue polling to 500ms (#4117)
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Roberts <[email protected]>
  • Loading branch information
mttrbrts authored and Simon Stone committed Jun 7, 2018
1 parent 4d22be6 commit 18decb1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ class JobQueue extends EventEmitter {
// If a job is running, or we are waiting on a startDelay, just retry later
if (this.jobRunning || this.timer) {

setTimeout(() => this.processQueue(), 10000);
setTimeout(() => this.processQueue(), 500);
return;
}

Expand Down

0 comments on commit 18decb1

Please sign in to comment.