spawn_poller

Function spawn_poller 

Source
pub fn spawn_poller(registry: Arc<AgentProcessRegistry>)
Expand description

Spawn the polling task. Drops when the registry’s Arc refcount hits zero (host shutdown). ~2s cadence balances latency (new processes show up fast) with CPU overhead (job queries are cheap but not free).