API from main

This commit is contained in:
Alexey
2026-03-07 15:37:49 +03:00
parent 508eea0131
commit e1f3efb619
5 changed files with 91 additions and 72 deletions

View File

@@ -297,7 +297,7 @@ async fn get_minimal_payload_cached(
}
}
let pool = shared.me_pool.as_ref()?;
let pool = shared.me_pool.read().await.clone()?;
let status = pool.api_status_snapshot().await;
let runtime = pool.api_runtime_snapshot().await;
let generated_at_epoch_secs = status.generated_at_epoch_secs;