Skip to main content

sweep_stale_registry_entries

Function sweep_stale_registry_entries 

Source
fn sweep_stale_registry_entries()
Expand description

Clean up stale cross-instance agent registry entries (older than 4h), and the same for the host-global shared registry (Tier 2b, #1916), which additionally drops entries whose owning PID no longer exists on this host: a channel that crashed without a clean unregister can leave an entry behind indefinitely otherwise, since no other channel’s startup would revisit it.