mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-24 17:42:50 +00:00
Always sync session table to database
Signed-off-by: David Mehren <dmehren1@gmail.com>
This commit is contained in:
parent
6480c142a9
commit
5996e4c594
1 changed files with 1 additions and 0 deletions
|
@ -267,6 +267,7 @@ function startListen (): void {
|
|||
|
||||
// sync db then start listen
|
||||
sequelize.authenticate().then(function () {
|
||||
sessionStore.sync()
|
||||
// check if realtime is ready
|
||||
if (realtime.isReady()) {
|
||||
Revision.checkAllNotesRevision(function (err, notes) {
|
||||
|
|
Loading…
Reference in a new issue