towerops/lib/towerops_web/live/device_live
Graham McIntire aa1bac0d46
perf: batch inserts, selective LiveView reloading, and database indexes for scale
Replace individual Repo.insert() with Repo.insert_all() for sensor readings,
interface stats, processor readings, and storage readings in agent channel and
device poller worker. Add partial/composite database indexes for common query
patterns. Dashboard now uses GROUP BY aggregation instead of loading all devices.
DeviceLive.Show only reloads data for the active tab on PubSub events.
DeviceLive.Index debounces status changes and skips quota queries on updates.
Agent polling preloads filtered to monitored sensors/interfaces only.
2026-02-12 10:16:10 -06:00
..
form.ex fix siteless devices not inheriting org default agent 2026-02-11 12:20:53 -06:00
form.html.heex fix bug on device add/edit page with mikrotik api fields showing 2026-02-09 13:01:47 -06:00
index.ex perf: batch inserts, selective LiveView reloading, and database indexes for scale 2026-02-12 10:16:10 -06:00
index.html.heex add row_link to table component for proper anchor tags 2026-02-11 08:46:03 -06:00
show.ex perf: batch inserts, selective LiveView reloading, and database indexes for scale 2026-02-12 10:16:10 -06:00
show.html.heex remove agent last_seen_at display from device detail page 2026-02-11 15:35:59 -06:00