Explorar el Código

Change default JOBRESULT_RETENTION from 0 to 90

kkthxbye-code hace 3 años
padre
commit
c216405a81
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
  1. 1 1
      docs/configuration/dynamic-settings.md
  2. 1 1
      netbox/netbox/config/parameters.py

+ 1 - 1
docs/configuration/dynamic-settings.md

@@ -45,7 +45,7 @@ changes in the database indefinitely.
 
 ## JOBRESULT_RETENTION
 
-Default: 0
+Default: 90
 
 The number of days to retain job results (scripts and reports). Set this to `0` to retain
 job results in the database indefinitely.

+ 1 - 1
netbox/netbox/config/parameters.py

@@ -190,7 +190,7 @@ PARAMS = (
     ConfigParam(
         name='JOBRESULT_RETENTION',
         label='Job result retention',
-        default=0,
+        default=90,
         description="Days to retain job result history (set to zero for unlimited)",
         field=forms.IntegerField
     ),