scan_orphans

Function scan_orphans 

Source
pub fn scan_orphans(wstore: &Arc<WaveStore>) -> u32
Expand description

Scan all blocks at server startup. For any agent block that still has session:active_pid set, transfer the flag to session:was_interrupted.

Returns the number of orphaned sessions found.