mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-10 01:23:04 +01:00
fix: increment progress on upgrade script
This commit is contained in:
committed by
Barış Soner Uşaklı
parent
9f72996416
commit
9f94a72117
@@ -15,6 +15,7 @@ module.exports = {
|
||||
const combined = readKeys.concat(voteKeys);
|
||||
|
||||
await db.deleteAll(combined);
|
||||
progress.incr(combined.length);
|
||||
}, {
|
||||
batch: 500,
|
||||
progress,
|
||||
|
||||
Reference in New Issue
Block a user