mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-24 23:00:44 +00:00
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:
parent
e9f7a17093
commit
102a20931e
1 changed files with 2 additions and 2 deletions
|
@ -28,11 +28,11 @@ async function main() {
|
||||||
(nextBatch = await getNextBatch(collection, query, maxId, projection))
|
(nextBatch = await getNextBatch(collection, query, maxId, projection))
|
||||||
.length
|
.length
|
||||||
) {
|
) {
|
||||||
|
processBatch(nextBatch)
|
||||||
|
|
||||||
maxId = nextBatch[nextBatch.length - 1]._id
|
maxId = nextBatch[nextBatch.length - 1]._id
|
||||||
processed += nextBatch.length
|
processed += nextBatch.length
|
||||||
console.error(maxId, processed)
|
console.error(maxId, processed)
|
||||||
|
|
||||||
processBatch(nextBatch)
|
|
||||||
}
|
}
|
||||||
console.error('done')
|
console.error('done')
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue