mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-19 09:45:37 -04: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…
Add table
Add a link
Reference in a new issue