Skip to content

Node.js based forum software built for the modern web

upgrading topics take a while, so let the user know

psychobunny2688ea973357
diff --git a/src/upgrade.js b/src/upgrade.js
index 05b664f2d9..11fd01d189 100644
--- a/src/upgrade.js
+++ b/src/upgrade.js
@@ -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) {