From 1bd3862eb4207d0e89b90cf6f1c6fe0aa2c133c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Gait=C3=A1n?= Date: Tue, 6 Aug 2024 11:04:56 -0300 Subject: [PATCH] update readme --- README.md | 9 +++++++-- dist/index.js | 4 ++-- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 824dad88..9c74d3ad 100644 --- a/README.md +++ b/README.md @@ -17,6 +17,11 @@ Check the [internal docs](https://docs.shiphero.xyz/ci.html#horizontally-scaled- This minimizes the chance of the `InsufficientInstanceCapacity` error, by balancing and trying subnetworks in different subzones -- [Reduce the waiting and polling intervals](https://github.com/Shiphero/ec2-github-runner/blob/97e4566a338e61490ce0a5b944e62801041faccb/src/gh.js#L63) for the runners registering. +- [Reduce the waiting and polling intervals](https://github.com/Shiphero/ec2-github-runner/blob/97e4566a338e61490ce0a5b944e62801041faccb/src/gh.js#L63) for the runners registering. + + This allows to save around 45' on the "start" step. + + Reverted in 5659035ee505 because we was hitting Github rate limits for personal tokens. + +- [Increases the page size when listing runners](https://github.com/Shiphero/ec2-github-runner/pull/2/commits/e3aae63b6a8bd136b0fd9460468dc85097a8d273) to reduce the number or requests to Github API. - This allows to save around 45' on the "start" step. \ No newline at end of file diff --git a/dist/index.js b/dist/index.js index 5bd3c98e..f3b9f55e 100644 --- a/dist/index.js +++ b/dist/index.js @@ -65473,8 +65473,8 @@ const github = __webpack_require__(95438); const _ = __webpack_require__(90250); const config = __webpack_require__(34570); -// use the unique label to find the runner -// as we don't have the runner's id, it's not possible to get it in any other way +// use the unique label to find the runners +// as we don't have the runners ids, it's not possible to get them in any other way async function getRunners(label) { const octokit = github.getOctokit(config.input.githubToken);