Skip to content

Commit 016026c

Browse files
authored
Do not occupy entire thread, when checking for jobs to start in run pipeline (#102)
1 parent a795069 commit 016026c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commander.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export class Commander {
4545
}
4646
}
4747

48-
await new Promise((r) => setImmediate(r));
48+
await new Promise((r) => setTimeout(r, 50));
4949

5050
if (stage.isFinished()) {
5151
if (!stage.isSuccess()) {

0 commit comments

Comments
 (0)