towerops/test/towerops/devices
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
..
mikrotik_backups Mikrotik backup and gettext start 2026-02-02 09:11:22 -06:00
backup_requests_test.exs make devices site optional and many test fix 2026-02-04 15:05:42 -06:00
credential_resolver_test.exs more tests and fixes 2026-02-07 11:50:18 -06:00
device_firmware_history_test.exs make devices site optional and many test fix 2026-02-04 15:05:42 -06:00
device_schema_test.exs more tests and fixes 2026-02-07 11:50:18 -06:00
device_status_counts_test.exs perf: batch inserts, selective LiveView reloading, and database indexes for scale 2026-02-12 10:16:10 -06:00
firmware_release_test.exs Add firmware tracking database schema 2026-02-01 10:13:16 -06:00
firmware_test.exs more tests and fixes 2026-02-07 11:50:18 -06:00
mikrotik_backups_test.exs make devices site optional and many test fix 2026-02-04 15:05:42 -06:00
version_comparator_test.exs Add VersionComparator module for semantic version comparison 2026-02-01 10:24:13 -06:00