diff --git a/lib/app.js b/lib/app.js index 6b1db1aa9..26ddd4d93 100644 --- a/lib/app.js +++ b/lib/app.js @@ -254,7 +254,7 @@ function startListen () { } // sync db then start listen -models.sequelize.sync().then(function () { +models.sequelize.authenticate().then(function () { // check if realtime is ready if (realtime.isReady()) { models.Revision.checkAllNotesRevision(function (err, notes) {