Actions
Refactor #22172
openReduce the number of SQL queries in compute host association logic
Status:
New
Priority:
Low
Assignee:
-
Category:
Compute resources
Target version:
-
Description
Today, there is a sql query for each VM from the compute resource to check
if it can be associated. After refactoring, the sql queries should be consolidated
to some batches to reduce the N+1 issue.
Updated by Ivan Necas almost 7 years ago
- Related to Bug #21317: Rescue from errors on per-host basis when associating vmware VMs added
Updated by Ivan Necas almost 7 years ago
Came as a review comment from PR https://github.com/theforeman/foreman/pull/4911#discussion_r160059586
Actions