fn update_session_activity_locked( session_id: &SessionId, now: u64, state: &mut HashMap<SessionId, SessionRuntimeState>, )