Skip to content

Commit

Permalink
RATE_LIMIT = 99
Browse files Browse the repository at this point in the history
  • Loading branch information
Namrata Jha authored and GitHub committed Dec 23, 2021
1 parent 81676df commit 7d188d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ exports.deleteVersions = exports.finalIds = exports.getVersionIds = void 0;
const rxjs_1 = __nccwpck_require__(5805);
const version_1 = __nccwpck_require__(4428);
const operators_1 = __nccwpck_require__(7801);
const RATE_LIMIT = 100;
const RATE_LIMIT = 99;
let totalCount = 0;
function getVersionIds(owner, repo, packageName, numVersions, cursor, token) {
return version_1.getOldestVersions(owner, repo, packageName, numVersions, cursor, token).pipe(operators_1.expand(value => value.paginate
Expand Down
2 changes: 1 addition & 1 deletion src/delete.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {EMPTY, Observable, of, throwError} from 'rxjs'
import {deletePackageVersions, getOldestVersions, VersionInfo} from './version'
import {concatMap, map, expand, tap} from 'rxjs/operators'

const RATE_LIMIT = 100
const RATE_LIMIT = 99
let totalCount = 0

export function getVersionIds(
Expand Down

0 comments on commit 7d188d1

Please sign in to comment.