diff options
author | Joas Schilling <coding@schilljs.com> | 2022-11-07 11:04:58 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-11-07 11:04:58 +0100 |
commit | 2d8886e6a43770dd2c95ca82831f73a67dcc65f0 (patch) | |
tree | 34df0546b6d08786541d74d84638f959ce9e3bea /apps/settings/src | |
parent | 7730c84e740d6e5393af0900438b8beccd25ede5 (diff) | |
download | nextcloud-server-2d8886e6a43770dd2c95ca82831f73a67dcc65f0.tar.gz nextcloud-server-2d8886e6a43770dd2c95ca82831f73a67dcc65f0.zip |
Increase the "bad waiting time" for cron mode to 24h to account for "time insensitive" jobs
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/settings/src')
-rw-r--r-- | apps/settings/src/components/BasicSettings/BackgroundJob.vue | 2 |
1 files changed, 1 insertions, 1 deletions
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: { |