From a7415a8db0c7bd883f6c45159bf0515d69eec777 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Wed, 20 Apr 2016 20:50:05 +0300 Subject: [PATCH] added missing count increment --- src/upgrade.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/upgrade.js b/src/upgrade.js index 77974839e6..36f5c14b39 100644 --- a/src/upgrade.js +++ b/src/upgrade.js @@ -489,7 +489,7 @@ Upgrade.upgrade = function(callback) { var count = 0; batch.processSortedSet('topics:tid', function(tids, next) { winston.info('upgraded ' + count + ' topics'); - + count += tids.length; async.each(tids, function(tid, next) { db.delete('tid:' + tid + ':posters', function(err) { if (err) {