mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 15:05:46 +01:00
eachLimit on expire nids
This commit is contained in:
@@ -300,7 +300,7 @@ var async = require('async'),
|
||||
return notif.nid;
|
||||
});
|
||||
|
||||
async.each(expiredNids, function(nid, next) {
|
||||
async.eachLimit(expiredNids, 50, function(nid, next) {
|
||||
async.parallel([
|
||||
function(next) {
|
||||
db.setRemove('notifications', nid, next);
|
||||
|
||||
Reference in New Issue
Block a user