mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 06:25:50 +01:00
eachLimit notifications.push
This commit is contained in:
@@ -128,7 +128,7 @@ var async = require('async'),
|
||||
return callback(err);
|
||||
}
|
||||
|
||||
async.each(uids, function(uid, next) {
|
||||
async.eachLimit(uids, 10, function(uid, next) {
|
||||
if (!parseInt(uid, 10)) {
|
||||
return next();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user