From 77a7c5caefa46ec026eaa00d305e734fd326d56c Mon Sep 17 00:00:00 2001 From: barisusakli Date: Sun, 17 Aug 2014 22:12:43 -0400 Subject: [PATCH] eachLimit notifications.push --- src/notifications.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/notifications.js b/src/notifications.js index ecd73e22ed..f0e36a5d76 100644 --- a/src/notifications.js +++ b/src/notifications.js @@ -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(); }