upgrading topics take a while, so let the user know

v1.18.x
psychobunny 11 years ago
parent 35e72dbb37
commit 2688ea9733

@ -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) {

Loading…
Cancel
Save