mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
eachLimit on move all topics
This commit is contained in:
@@ -304,7 +304,7 @@ SocketTopics.moveAll = function(socket, data, callback) {
|
||||
return callback(err);
|
||||
}
|
||||
|
||||
async.each(tids, function(tid, next) {
|
||||
async.eachLimit(tids, 10, function(tid, next) {
|
||||
threadTools.move(tid, data.cid, socket.uid, next);
|
||||
}, callback);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user