spawn_pool_window

Function spawn_pool_window 

Source
pub fn spawn_pool_window(state: &Arc<AppState>)
Expand description

Spawn a single pool window. Called at startup (N times) and after each promote (1 refill). Idempotent against the in-flight semaphore — concurrent calls collapse to one spawn in flight at a time.