mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 13:26:02 +02:00
upgrading topics take a while, so let the user know
This commit is contained in:
@@ -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) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user