added limit to async.each
This commit is contained in:
parent
24eafb00d1
commit
a7144fa02e
|
@ -141,7 +141,7 @@ exports.multitxs = function(req, res, next) {
|
|||
var as = getAddrs(req, res, next);
|
||||
if (as) {
|
||||
var txs = [];
|
||||
async.each(as, function(a, callback) {
|
||||
async.eachLimit(as, 10, function(a, callback) {
|
||||
a.update(function(err) {
|
||||
if (err) callback(err);
|
||||
txs.push(a.transactions);
|
||||
|
|
Loading…
Reference in New Issue