Add dynamic config JOBRESULT_RETENTION

and cleanup functionality to the housekeeping script
This commit is contained in:
kkthxbye
2022-03-25 09:00:02 +01:00
committed by jeremystretch
parent f13a00b2dd
commit aa2ec3b9c9
5 changed files with 49 additions and 1 deletions

View File

@@ -43,6 +43,18 @@ changes in the database indefinitely.
---
## JOBRESULT_RETENTION
Default: 0
The number of days to retain job results (scripts and reports). Set this to `0` to retain
job results in the database indefinitely.
!!! warning
If enabling indefinite job results retention, it is recommended to periodically delete old entries. Otherwise, the database may eventually exceed capacity.
---
## CUSTOM_VALIDATORS
This is a mapping of models to [custom validators](../customization/custom-validation.md) that have been defined locally to enforce custom validation logic. An example is provided below: