Skip to content

Commit

Permalink
Do not occupy entire thread, when checking for jobs to start in run p…
Browse files Browse the repository at this point in the history
…ipeline (#102)
  • Loading branch information
firecow authored Mar 22, 2021
1 parent a795069 commit 016026c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commander.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class Commander {
}
}

await new Promise((r) => setImmediate(r));
await new Promise((r) => setTimeout(r, 50));

if (stage.isFinished()) {
if (!stage.isSuccess()) {
Expand Down

0 comments on commit 016026c

Please sign in to comment.