towerops/lib/towerops_web/channels
Graham McIntire 07911dfa3e
perf(tests): make AgentChannel debounce delay configurable for faster tests
- Add :agent_channel_debounce_ms config (500ms prod, 50ms test)
- Reduce test timeouts from 700-1000ms to 150ms
- Performance improvements:
  * agent receives updated job list: 1567ms → 664ms (57% faster)
  * agent result for deleted device: 1059ms → 620ms (41% faster)
  * rapid assignment changes: 744ms → <500ms
  * debounces rapid changes: 613ms → <200ms
- Total time saved: ~2 seconds across affected tests
- No production behavior changed
2026-03-06 07:21:52 -06:00
..
agent_channel.ex perf(tests): make AgentChannel debounce delay configurable for faster tests 2026-03-06 07:21:52 -06:00
agent_socket.ex Add Dialyzer typespecs to WebSocket agent code and Agents context 2026-01-17 10:37:27 -06:00