upgrading topics take a while, so let the user know

This commit is contained in:
psychobunny
2014-06-10 15:14:25 -04:00
parent 35e72dbb37
commit 2688ea9733

View File

@@ -738,6 +738,8 @@ Upgrade.upgrade = function(callback) {
thisSchemaDate = Date.UTC(2014, 5, 6);
if (schemaDate < thisSchemaDate) {
winston.info('[2014/6/6] Upgrading topics...');
db.getSortedSetRange('topics:tid', 0, -1, function(err, tids) {
function upgradeTopic(tid, callback) {