diff --git a/docs/configuration/dynamic-settings.md b/docs/configuration/dynamic-settings.md index 4a12726ba..2fa046fcf 100644 --- a/docs/configuration/dynamic-settings.md +++ b/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. diff --git a/netbox/netbox/config/parameters.py b/netbox/netbox/config/parameters.py index 9bbf45ceb..68c96b38a 100644 --- a/netbox/netbox/config/parameters.py +++ b/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 ),