Skip to content

Commit 1bd3862

Browse files
committed
update readme
1 parent e3aae63 commit 1bd3862

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ Check the [internal docs](https://docs.shiphero.xyz/ci.html#horizontally-scaled-
1717
This minimizes the chance of the `InsufficientInstanceCapacity` error, by balancing and trying
1818
subnetworks in different subzones
1919

20-
- [Reduce the waiting and polling intervals](https://github.com/Shiphero/ec2-github-runner/blob/97e4566a338e61490ce0a5b944e62801041faccb/src/gh.js#L63) for the runners registering.
20+
- <strike>[Reduce the waiting and polling intervals](https://github.com/Shiphero/ec2-github-runner/blob/97e4566a338e61490ce0a5b944e62801041faccb/src/gh.js#L63) for the runners registering.
21+
22+
This allows to save around 45' on the "start" step. </strike>
23+
24+
Reverted in 5659035ee505 because we was hitting Github rate limits for personal tokens.
25+
26+
- [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.
2127

22-
This allows to save around 45' on the "start" step.

dist/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65473,8 +65473,8 @@ const github = __webpack_require__(95438);
6547365473
const _ = __webpack_require__(90250);
6547465474
const config = __webpack_require__(34570);
6547565475

65476-
// use the unique label to find the runner
65477-
// as we don't have the runner's id, it's not possible to get it in any other way
65476+
// use the unique label to find the runners
65477+
// as we don't have the runners ids, it's not possible to get them in any other way
6547865478
async function getRunners(label) {
6547965479
const octokit = github.getOctokit(config.input.githubToken);
6548065480

0 commit comments

Comments
 (0)