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
No known key found for this signature in database
GPG Key ID: 74434EFE0D2E2205
1 changed files with
1 additions and
1 deletions
-
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: { |
|
|
|
|