Skip to content

Commit c216405

Browse files
kkthxbye-codejeremystretch
authored andcommitted
Change default JOBRESULT_RETENTION from 0 to 90
1 parent aa2ec3b commit c216405

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/configuration/dynamic-settings.md

+1-1
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def __init__(self, name, label, default, description='', field=None, field_kwarg
190190
ConfigParam(
191191
name='JOBRESULT_RETENTION',
192192
label='Job result retention',
193-
default=0,
193+
default=90,
194194
description="Days to retain job result history (set to zero for unlimited)",
195195
field=forms.IntegerField
196196
),

0 commit comments

Comments
 (0)