From 8fc61232305a6c702a5d1325836000de2883cf3b Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Sun, 16 Apr 2017 13:29:36 -0400 Subject: [PATCH] fixing accidental eachSeries --- src/upgrades/1.5.0/post_votes_zset.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/upgrades/1.5.0/post_votes_zset.js b/src/upgrades/1.5.0/post_votes_zset.js index b1d5b0cae4..7feabe8169 100644 --- a/src/upgrades/1.5.0/post_votes_zset.js +++ b/src/upgrades/1.5.0/post_votes_zset.js @@ -13,7 +13,7 @@ module.exports = { var progress = this.progress; require('../../batch').processSortedSet('posts:pid', function (pids, next) { - async.eachSeries(pids, function (pid, next) { + async.each(pids, function (pid, next) { db.getObjectFields('post:' + pid, ['upvotes', 'downvotes'], function (err, postData) { if (err || !postData) { return next(err);