Skip to content

Commit

Permalink
Merge branch 'dev' into release-2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
laurent22 committed Oct 28, 2021
2 parents 3359ea3 + 4a2af32 commit 6c6e2a6
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 72 deletions.
12 changes: 6 additions & 6 deletions packages/server/src/utils/setupTaskService.ts
Expand Up @@ -30,12 +30,12 @@ export default function(env: Env, models: Models, config: Config): TaskService {
run: (models: Models) => models.user().handleOversizedAccounts(),
},

{
id: TaskId.DeleteExpiredSessions,
description: 'Delete expired sessions',
schedule: '0 */6 * * *',
run: (models: Models) => models.session().deleteExpiredSessions(),
},
// {
// id: TaskId.DeleteExpiredSessions,
// description: 'Delete expired sessions',
// schedule: '0 */6 * * *',
// run: (models: Models) => models.session().deleteExpiredSessions(),
// },
];

if (config.isJoplinCloud) {
Expand Down

0 comments on commit 6c6e2a6

Please sign in to comment.