mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: increase batch size
This commit is contained in:
@@ -16,6 +16,7 @@ module.exports = {
|
|||||||
db.deleteAll(keys, next);
|
db.deleteAll(keys, next);
|
||||||
}, {
|
}, {
|
||||||
progress: this.progress,
|
progress: this.progress,
|
||||||
|
batch: 500,
|
||||||
}, callback);
|
}, callback);
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ module.exports = {
|
|||||||
}, next);
|
}, next);
|
||||||
}, {
|
}, {
|
||||||
progress: progress,
|
progress: progress,
|
||||||
|
batch: 500,
|
||||||
}, next);
|
}, next);
|
||||||
},
|
},
|
||||||
function (next) {
|
function (next) {
|
||||||
|
|||||||
Reference in New Issue
Block a user