Created three new Exq workers to handle background jobs: - PollWorker: SNMP polling operations (queue: polling) - MonitorWorker: Device monitoring checks (queue: monitoring) - DiscoveryWorker: SNMP discovery (already existed) Updated files to use Exq.enqueue instead of Task.start: - lib/towerops/snmp/poller_worker.ex - lib/towerops/monitoring/device_monitor.ex - lib/towerops_web/channels/agent_channel.ex Each module includes enqueue_* helper functions that: - Use Task.start in test environment for synchronous execution - Use Exq.enqueue in dev/prod for proper background job processing Added "monitoring" queue to Exq configuration in application.ex All tests passing (824 tests, 0 failures) |
||
|---|---|---|
| .. | ||
| towerops | ||
| towerops_web | ||
| towerops.ex | ||
| towerops_web.ex | ||