Skip to content

Commit

Permalink
fix(jobprocessor): set job enqueud to true for future jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
simllll committed Oct 20, 2020
1 parent 6446b64 commit a3d4203
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/JobProcessor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@ export class JobProcessor {
setTimeout(() => {
this.jobProcessing();
}, runIn);
jobEnqueued = true;
}
if (this.localQueueProcessing < this.maxConcurrency && jobEnqueued) {
// additionally run again and check if there are more jobs that we can process right now (as long concurrency not reached)
Expand Down

0 comments on commit a3d4203

Please sign in to comment.