Address review coments

This commit is contained in:
Anupam
2023-01-03 16:35:40 +00:00
parent 23073eb4a2
commit 2de4236b17
5 changed files with 11 additions and 14 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ import {
RestVersionInfo
} from './version'
const RATE_LIMIT = 99
export const RATE_LIMIT = 100
let totalCount = 0
export function getVersionIds(
@@ -68,7 +68,7 @@ export function finalIds(input: Input): Observable<string[]> {
})
/*
Here first filter out the versions that are to be ignored.
Then update input.numOldeVersionsToDelete to the no of versions deleted from the next 100 versions batch.
Then compute number of versions to delete (toDelete) based on the inputs.
*/
value = value.filter(info => !input.ignoreVersions.test(info.version))
let toDelete = 0