Skip to content

Commit

Permalink
Increases wait timer.
Browse files Browse the repository at this point in the history
all about that rebase
we are time-ing out and we can afford more hits with more keys now
  • Loading branch information
supertopher committed Mar 28, 2022
1 parent b43161e commit b975f76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62941,7 +62941,7 @@ function getOctokit(token) {
const ConfiguredOctokit = Octokit.plugin(retry, throttling);
octokit = new ConfiguredOctokit(getOctokitOptions(token, {
request: {
retries: 2,
retries: 4,
},
throttle: {
onRateLimit: (retryAfter, options, octokit) => {
Expand Down Expand Up @@ -63009,7 +63009,7 @@ async function removeRunner() {
}

async function waitForRunnerRegistered(label) {
const timeoutMinutes = 2;
const timeoutMinutes = 5;
const retryIntervalSeconds = 20;
const quietPeriodSeconds = 30;
let waitSeconds = 0;
Expand Down
4 changes: 2 additions & 2 deletions src/gh.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function getOctokit(token) {
const ConfiguredOctokit = Octokit.plugin(retry, throttling);
octokit = new ConfiguredOctokit(getOctokitOptions(token, {
request: {
retries: 2,
retries: 4,
},
throttle: {
onRateLimit: (retryAfter, options, octokit) => {
Expand Down Expand Up @@ -91,7 +91,7 @@ async function removeRunner() {
}

async function waitForRunnerRegistered(label) {
const timeoutMinutes = 2;
const timeoutMinutes = 5;
const retryIntervalSeconds = 20;
const quietPeriodSeconds = 30;
let waitSeconds = 0;
Expand Down

0 comments on commit b975f76

Please sign in to comment.