mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-10 11:19:50 +08:00
fix: harden concurrency limits and high-RPM runtime paths
Bound request, stream, queue, and shutdown resource lifetimes. Reduce scheduler and Redis hot-path work and isolate database maintenance. Include regression coverage, load probes, and concurrency audit results.
This commit is contained in:
@@ -480,6 +480,7 @@ async fn diagnostics_metrics(
|
||||
AxumState(diagnostics): AxumState<DiagnosticsState>,
|
||||
) -> impl axum::response::IntoResponse {
|
||||
let mut samples = diagnostics.state.metric_samples().await;
|
||||
samples.extend(aether_runtime::logging_metric_samples());
|
||||
let servers = diagnostics.server_contexts.lock().await.clone();
|
||||
for server in servers {
|
||||
samples.extend(server.metric_samples());
|
||||
|
||||
Reference in New Issue
Block a user