towerops/lib/towerops_web/live/device_live
Graham McIntire 3c46c805a0
Add real-time updates with Redis-backed PubSub
- Configure Phoenix.PubSub to use Redis adapter for pod-resilient messaging
- Add PubSub broadcasts for sensor readings updates in PollerWorker
- Add PubSub broadcasts for interface stats updates in PollerWorker
- Add PubSub broadcasts for neighbor discovery updates in PollerWorker
- Add PubSub broadcasts for monitoring check updates in MonitorWorker
- Broadcast interface and sensor events to device-specific topics
- Add event handlers in DeviceLive.Show for all update types
- Device show page now updates in real-time without polling
- Updates survive pod restarts and work across multiple pods
2026-01-17 17:55:49 -06:00
..
form.ex updates 2026-01-17 17:49:53 -06:00
form.html.heex updates 2026-01-17 17:49:53 -06:00
index.ex rename equipment to device 2026-01-17 14:48:46 -06:00
index.html.heex rename equipment to device 2026-01-17 14:48:46 -06:00
show.ex Add real-time updates with Redis-backed PubSub 2026-01-17 17:55:49 -06:00
show.html.heex Change 'Ping Latency' to 'ICMP Latency' throughout codebase 2026-01-17 17:13:02 -06:00