Skip to main content

analyze_human

Function analyze_human 

Source
pub fn analyze_human(
    session: Option<AdminSession>,
    pool: &State<DbPool>,
) -> Result<Redirect, AdminReject>
Expand description

The human twin of analyze: the health screen’s “Refresh planner statistics” button. Gated by the signed-in AdminSession cookie (anonymous → sign-in). Spawns the same debounced analyze job and redirects to /jobs.