You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perf: Batch systemd queries in list_executions endpoints
Replace per-VM systemd D-Bus calls with a single batch query using
ListUnits(). This reduces the number of D-Bus calls from O(n) to O(1)
for persistent VMs, significantly improving response times on CRNs
with many instances.
- Add get_services_active_states() method to SystemDManager that
queries all service states in one ListUnits() call
- Add _get_executions_running_states() helper in views to pre-fetch
all running states efficiently
- Update list_executions and list_executions_v2 to use batch query