Changelog cleanup is triggered too frequently #2834

Closed
opened 2025-12-29 18:22:37 +01:00 by adam · 1 comment
Owner

Originally created by @jeremystretch on GitHub (Aug 28, 2019).

Environment

  • Python version: 3.5.2
  • NetBox version: 2.6.2

Steps to Reproduce

This bug pertains to the change logging middleware, which runs as part of every request.

Expected Behavior

The change logging middleware should have a 1% chance of automatically purging expired entries every time a change is logged.

Observed Behavior

The 1% chance is actually applied to every request, rather than only those which effect a change.

This bug was initially raised as part of #3392.

Originally created by @jeremystretch on GitHub (Aug 28, 2019). ### Environment * Python version: 3.5.2 * NetBox version: 2.6.2 ### Steps to Reproduce This bug pertains to the change logging middleware, which runs as part of every request. ### Expected Behavior The change logging middleware should have a 1% chance of automatically purging expired entries every time a change is logged. ### Observed Behavior The 1% chance is actually applied to _every_ request, rather than only those which effect a change. This bug was initially raised as part of #3392.
adam closed this issue 2025-12-29 18:22:37 +01:00
Author
Owner

@jeremystretch commented on GitHub (Aug 28, 2019):

Disregard; this is not a valid bug report.

@jeremystretch commented on GitHub (Aug 28, 2019): Disregard; this is not a valid bug report.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#2834