towerops/lib/towerops_web/channels
Graham McIntire 904ced77b9
fix: add recurring job dispatch timer for agent-polled devices
The server only sent polling/ping jobs to agents once on WebSocket join
and never re-dispatched them. After the first batch completed (~5-10s),
devices were never polled again until the agent reconnected.

:send_jobs now schedules a follow-up dispatch every 60s (configurable).
Unifies the timer management with :assignments_changed to prevent
accumulation.
2026-03-12 12:07:34 -05:00
..
agent_channel.ex fix: add recurring job dispatch timer for agent-polled devices 2026-03-12 12:07:34 -05:00
agent_socket.ex Add Dialyzer typespecs to WebSocket agent code and Agents context 2026-01-17 10:37:27 -06:00