Fixed
- Startup panic when
--metrics-portis set. Launching kei with--metrics-port(orKEI_METRICS_PORT/[metrics] portin TOML) crashed at startup with ablocking_lock()panic. Regression from 0.10.0: the/healthzstaleness threshold was applied to the mutex-wrapped metrics handle after construction, andblocking_lock()panics unconditionally when called from inside a tokio runtime. The threshold is now passed intoMetricsHandle::new()before the mutex wraps the inner state, so no locking is needed. (#248, #249)
Full changelog: CHANGELOG.md