(State(state): State<DashboardState>)
| 44 | } |
| 45 | |
| 46 | pub(crate) async fn overview(State(state): State<DashboardState>) -> ApiResult { |
| 47 | let snapshot = diagnostics_snapshot(&state).await?; |
| 48 | maybe_spawn_idle_backfill(&state, &snapshot); |
| 49 | Ok(Json(json!(snapshot))) |
| 50 | } |
| 51 | |
| 52 | pub(crate) async fn patch_settings( |
| 53 | State(state): State<DashboardState>, |
nothing calls this directly
no test coverage detected