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

Cache component template counts on device types #13269

Closed
jeremystretch opened this issue Jul 25, 2023 · 0 comments
Closed

Cache component template counts on device types #13269

jeremystretch opened this issue Jul 25, 2023 · 0 comments
Assignees
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Milestone

Comments

@jeremystretch
Copy link
Member

NetBox version

v3.5.6

Feature type

Change to existing functionality

Proposed functionality

Establish cached counters on the DeviceType model for each of the component template models. (This is essentially replicating what was done for devices under #6347.)

Use case

Similar to #6347, we can optimize query performance by automatically caching the count of each type of assigned component template per device type.

Database changes

No response

External dependencies

No response

@jeremystretch jeremystretch added status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application labels Jul 25, 2023
@jeremystretch jeremystretch added this to the v3.6 milestone Jul 25, 2023
@jeremystretch jeremystretch self-assigned this Jul 25, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Projects
None yet
Development

No branches or pull requests

1 participant