mirror of
https://github.com/fleetdm/fleet
synced 2026-05-06 06:48:54 +00:00
- Debounce frontend to reduce number of target searches in live query. - More efficiently calculate label counts in live query and hosts dashboard. Instead of using the (slow) CountHostsInTargets function, retrieve the host counts while looking up the labels. - Optimize targets search query. Removing the nested query retrieves the same logical result set, but substantially optimizes MySQL CPU usage. Testing indicates about a 50% reduction in MySQL CPU usage for the frontend targets search API call after applying this change. |
||
|---|---|---|
| .. | ||
| Checkbox | ||
| Dropdown | ||
| InputField | ||
| InputFieldWithIcon | ||
| SelectTargetsDropdown | ||
| Slider | ||