mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-24 16:29:51 +01:00
fix: wrong increment value
This commit is contained in:
committed by
Barış Soner Uşaklı
parent
9f94a72117
commit
b1fc5bfdaa
@@ -15,11 +15,10 @@ module.exports = {
|
|||||||
const combined = readKeys.concat(voteKeys);
|
const combined = readKeys.concat(voteKeys);
|
||||||
|
|
||||||
await db.deleteAll(combined);
|
await db.deleteAll(combined);
|
||||||
progress.incr(combined.length);
|
progress.incr(uids.length);
|
||||||
}, {
|
}, {
|
||||||
batch: 500,
|
batch: 500,
|
||||||
progress,
|
progress,
|
||||||
});
|
});
|
||||||
|
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user