Merge pull request #13506 from phaakmat/githubPullRequest-throttling-option

Disable octokit throttling
This commit is contained in:
Patrik Oldsberg
2022-09-06 15:03:34 +02:00
committed by GitHub
2 changed files with 9 additions and 1 deletions
@@ -79,7 +79,10 @@ export const defaultClientFactory = async ({
});
const OctokitPR = Octokit.plugin(createPullRequest);
return new OctokitPR(octokitOptions);
return new OctokitPR({
...octokitOptions,
...{ throttle: { enabled: false } },
});
};
/**