Merge pull request #3310 from overleaf/jpa-validate-data-of-model-tweak-output
[scripts] validate-data-of-model: log after processing GitOrigin-RevId: b9ab7989bf1b3af12469bbf8a0a82ad7c40e1f14
This commit is contained in:
@@ -28,11 +28,11 @@ async function main() {
|
||||
(nextBatch = await getNextBatch(collection, query, maxId, projection))
|
||||
.length
|
||||
) {
|
||||
processBatch(nextBatch)
|
||||
|
||||
maxId = nextBatch[nextBatch.length - 1]._id
|
||||
processed += nextBatch.length
|
||||
console.error(maxId, processed)
|
||||
|
||||
processBatch(nextBatch)
|
||||
}
|
||||
console.error('done')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user