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

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2022-11-07 11:04:58 +01:00 committed by backportbot-nextcloud[bot]
parent a93f8b6945
commit c6ccd39b05

View file

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