Skip to content

Commit a35cad8

Browse files
committed
Change default JOBRESULT_RETENTION from 0 to 90
1 parent e459805 commit a35cad8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/configuration/dynamic-settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ changes in the database indefinitely.
4545

4646
## JOBRESULT_RETENTION
4747

48-
Default: 0
48+
Default: 90
4949

5050
The number of days to retain job results (scripts and reports). Set this to `0` to retain
5151
job results in the database indefinitely.

netbox/netbox/config/parameters.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def __init__(self, name, label, default, description='', field=None, field_kwarg
165165
ConfigParam(
166166
name='JOBRESULT_RETENTION',
167167
label='Job result retention',
168-
default=0,
168+
default=90,
169169
description="Days to retain job result history (set to zero for unlimited)",
170170
field=forms.IntegerField
171171
),

0 commit comments

Comments
 (0)