mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-21 15:03:12 +01:00
fix: increment progress on upgrade script
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user