Skip to content

Node.js based forum software built for the modern web

fixing accidental eachSeries

Julian Lam8fc61232305a
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);