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
Original file line number Diff line number Diff line change
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
Loading

0 comments on commit 6c6e2a6

Please sign in to comment.