Browse Source

Increase the "bad waiting time" for cron mode to 24h to account for "time insensitive" jobs

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/35000/head
Joas Schilling 3 years ago
parent
commit
2d8886e6a4
No known key found for this signature in database GPG Key ID: 74434EFE0D2E2205
  1. 2
      apps/settings/src/components/BasicSettings/BackgroundJob.vue

2
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: {

Loading…
Cancel
Save