Unverified Commit c24ad832 authored by Phillip Johnsen's avatar Phillip Johnsen Committed by Mary Marchini
Browse files

build: increase API requests for stale action

The second attempt at getting the auto closing of issues & PRs to work
as expected without hitting a maximum operations allowed error we've
been seeing.

Recently discovered that the mentioned error is actually self imposed
by the stale action itself. It keeps track of how many outgoing GitHub
API requests it performs, and if that count exceeds the configured
`operations-per-run` option, it exits to avoid hitting API rate limits.

Default `operations-per-run` value is set to `30`.

That's a very low limit and we're not at all concerned hitting that
rate limit as of now, so we're bumping `operations-per-run` to `500`
with these changes.

Refs https://github.com/nodejs/node/issues/35144

PR-URL: https://github.com/nodejs/node/pull/35235


Reviewed-By: default avatarMary Marchini <oss@mmarchini.me>
Reviewed-By: default avatarDaijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: default avatarLuigi Pinca <luigipinca@gmail.com>
parent fe293e91
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment