mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-20 02:05:21 -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
|
// sync db then start listen
|
||||||
sequelize.authenticate().then(function () {
|
sequelize.authenticate().then(function () {
|
||||||
|
sessionStore.sync()
|
||||||
// check if realtime is ready
|
// check if realtime is ready
|
||||||
if (realtime.isReady()) {
|
if (realtime.isReady()) {
|
||||||
Revision.checkAllNotesRevision(function (err, notes) {
|
Revision.checkAllNotesRevision(function (err, notes) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue