run with RATE_LIMIT=100

This commit is contained in:
Namrata Jha
2021-12-22 19:09:58 +00:00
committed by GitHub
parent e6a9d9c802
commit bf6c02443a
4 changed files with 40 additions and 24 deletions

View File

@@ -101,7 +101,7 @@ export function queryForOldestVersions(
owner,
repo,
package: packageName,
last: numVersions,
last: numVersions > 100 ? 100 : numVersions,
headers: {
Accept: 'application/vnd.github.packages-preview+json'
}