Skip to content

Commit 2fd86b5

Browse files
remove debug statements
1 parent 792ef76 commit 2fd86b5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

scripts/updateToV5ChallengeId.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ function * updateRecords () {
5858
TableName: tableName
5959
}
6060
// Process until all the records from DB is fetched
61-
let i = 20
62-
while (i > 10) {
63-
i--
61+
while (true) {
6462
const records = yield dbhelper.scanRecords(params)
6563
const totalRecords = records.Items.length
6664
logger.debug(`Number of ${tableName}s fetched from DB - ${totalRecords}. More fetch iterations may follow (pagination in progress)`)

0 commit comments

Comments
 (0)