Skip to content

Commit 97e4566

Browse files
committed
faster polling
1 parent 69a9f36 commit 97e4566

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

dist/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63066,9 +63066,9 @@ async function removeRunners() {
6306663066
}
6306763067

6306863068
async function waitForRunnersRegistered(label) {
63069-
const timeoutMinutes = 5;
63070-
const retryIntervalSeconds = 10;
63071-
const quietPeriodSeconds = 30;
63069+
const timeoutMinutes = 3;
63070+
const retryIntervalSeconds = 5;
63071+
const quietPeriodSeconds = 10;
6307263072
let waitSeconds = 0;
6307363073

6307463074
core.info(`Waiting ${quietPeriodSeconds}s for the AWS EC2 instance to be registered in GitHub as a new self-hosted runner`);

src/gh.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@ async function removeRunners() {
5959
}
6060

6161
async function waitForRunnersRegistered(label) {
62-
const timeoutMinutes = 5;
63-
const retryIntervalSeconds = 10;
64-
const quietPeriodSeconds = 30;
62+
const timeoutMinutes = 3;
63+
const retryIntervalSeconds = 5;
64+
const quietPeriodSeconds = 10;
6565
let waitSeconds = 0;
6666

6767
core.info(`Waiting ${quietPeriodSeconds}s for the AWS EC2 instance to be registered in GitHub as a new self-hosted runner`);

0 commit comments

Comments
 (0)