diff --git a/src/upgrades/1.11.1/remove_ignored_cids_per_user.js b/src/upgrades/1.11.1/remove_ignored_cids_per_user.js index f175e4074f..1d80f0cf09 100644 --- a/src/upgrades/1.11.1/remove_ignored_cids_per_user.js +++ b/src/upgrades/1.11.1/remove_ignored_cids_per_user.js @@ -16,6 +16,7 @@ module.exports = { db.deleteAll(keys, next); }, { progress: this.progress, + batch: 500, }, callback); }, }; diff --git a/src/upgrades/1.12.0/category_watch_state.js b/src/upgrades/1.12.0/category_watch_state.js index 178b7a0354..2d9cbe0c4c 100644 --- a/src/upgrades/1.12.0/category_watch_state.js +++ b/src/upgrades/1.12.0/category_watch_state.js @@ -36,6 +36,7 @@ module.exports = { }, next); }, { progress: progress, + batch: 500, }, next); }, function (next) {