mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-19 13:35:40 +00:00
Backup task fixes (#4307)
* Ensure 'retry' is always greater than timeout * Adds setting for controlling how many days between automated backups * Adds configuration option for max_attempts * Update for daily backup task - Prevent backup attempts from ocurring too frequently - Add setting for controlling how many days between backups * Exit early
This commit is contained in:
@ -152,6 +152,7 @@ backup_storage: django.core.files.storage.FileSystemStorage
|
||||
background:
|
||||
workers: 4
|
||||
timeout: 90
|
||||
max_attempts: 5
|
||||
|
||||
# Optional URL schemes to allow in URL fields
|
||||
# By default, only the following schemes are allowed: ['http', 'https', 'ftp', 'ftps']
|
||||
|
Reference in New Issue
Block a user