fix: increment progress on upgrade script

This commit is contained in:
Julian Lam
2025-12-11 11:09:13 -05:00
parent 097d0802b7
commit 8abe0dfa9f

View File

@@ -15,6 +15,7 @@ module.exports = {
const combined = readKeys.concat(voteKeys); const combined = readKeys.concat(voteKeys);
await db.deleteAll(combined); await db.deleteAll(combined);
progress.incr(combined.length);
}, { }, {
batch: 500, batch: 500,
progress, progress,