Skip to content

Conversation

@mulmat
Copy link
Contributor

@mulmat mulmat commented Apr 29, 2024

Fixes: #15845

Adds assigned_object_type to prefetch in order to avoid N+1 issue in /api/ipam/ip-addresses/

@jeremystretch
Copy link
Member

Thanks @mulmat!

@jeremystretch jeremystretch merged commit 851b4cc into netbox-community:develop Apr 29, 2024
@mulmat mulmat deleted the 15845-list-ipaddresses-api-n1-issue branch April 29, 2024 14:50
@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

N+1 issue on the /api/ipam/ip-addresses/ endpoint

2 participants