Skip to content

Commit 5659035

Browse files
committed
reduce polling
1 parent eba85dd commit 5659035

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dist/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65530,8 +65530,8 @@ async function removeRunners() {
6553065530

6553165531
async function waitForRunnersRegistered(label) {
6553265532
const timeoutMinutes = 3;
65533-
const retryIntervalSeconds = 5;
65534-
const quietPeriodSeconds = 10;
65533+
const retryIntervalSeconds = 10;
65534+
const quietPeriodSeconds = 30;
6553565535
let waitSeconds = 0;
6553665536

6553765537
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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ async function removeRunners() {
6060

6161
async function waitForRunnersRegistered(label) {
6262
const timeoutMinutes = 3;
63-
const retryIntervalSeconds = 5;
64-
const quietPeriodSeconds = 10;
63+
const retryIntervalSeconds = 10;
64+
const quietPeriodSeconds = 30;
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)