From c6ccd39b05b9f60c62690efc5aef3afb212d137b Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 7 Nov 2022 11:04:58 +0100 Subject: [PATCH] Increase the "bad waiting time" for cron mode to 24h to account for "time insensitive" jobs Signed-off-by: Joas Schilling --- apps/settings/src/components/BasicSettings/BackgroundJob.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/settings/src/components/BasicSettings/BackgroundJob.vue b/apps/settings/src/components/BasicSettings/BackgroundJob.vue index d9b8758d5f5..17e77aff6c7 100644 --- a/apps/settings/src/components/BasicSettings/BackgroundJob.vue +++ b/apps/settings/src/components/BasicSettings/BackgroundJob.vue @@ -138,7 +138,7 @@ export default { return Date.now() / 1000 - this.cronMaxAge > 12 * 3600 && this.backgroundJobsMode !== 'cron' }, longExecutionCron() { - return Date.now() / 1000 - this.cronMaxAge > 12 * 3600 && this.backgroundJobsMode === 'cron' + return Date.now() / 1000 - this.cronMaxAge > 24 * 3600 && this.backgroundJobsMode === 'cron' }, }, methods: {