- Move last_discovery_at update to after successful processing so failed discoveries are retried on the next poll cycle instead of being blocked for 24 hours - Add disabled assignment check to agent polling target query so devices with enabled=false assignments don't leak through site/org cascade - Wrap spawned polling data processing in try/rescue so crashes are logged instead of silently disappearing |
||
|---|---|---|
| .. | ||
| agent_channel.ex | ||
| agent_socket.ex | ||