Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add JOBRESULT_RETENTION to configuration.py #840

Merged
merged 1 commit into from
Sep 5, 2022

Conversation

tymekxxl
Copy link
Contributor

@tymekxxl tymekxxl commented Sep 1, 2022

Related Issue: N/A

New Behavior

Netbox v3.2.1 introduces new enhancement to retain old script and report results for configured lifetime.
Read JOBRESULT_RETENTION environment variable to set value in configuration.py. If not present set 90 as the default for that setting.

Contrast to Current Behavior

Currently this value is being set to default 90 without giving an option to modify that value via env var.

Discussion: Benefits and Drawbacks

The result of this new feature cause DB to grow very quickly when jobs are used frequently, this change will allow to maintain DB size on desired level.

Changes to the Wiki

N/A

Proposed Release Note Entry

JOBRESULT_RETENTION setting added to configuration.py

Double Check

  • I have read the comments and followed the PR template.
  • I have explained my PR according to the information in the comments.
  • My PR targets the develop branch.

Netbox v3.2.1 introduces new enhancement to retain old script
and report results for configured lifetime.
@tobiasge tobiasge merged commit c8c360d into netbox-community:develop Sep 5, 2022
@cimnine cimnine mentioned this pull request Oct 25, 2022
3 tasks
@tobiasge tobiasge mentioned this pull request Dec 15, 2022
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants