diff --git a/web3_proxy/src/frontend/status.rs b/web3_proxy/src/frontend/status.rs index b7d69fee..b75d7528 100644 --- a/web3_proxy/src/frontend/status.rs +++ b/web3_proxy/src/frontend/status.rs @@ -68,12 +68,15 @@ pub async fn backups_needed( Extension(app): Extension>, Extension(cache): Extension>, ) -> impl IntoResponse { - let (code, content_type, body) = cache - .get_or_insert_async::(&ResponseCacheKey::BackupsNeeded, async move { - Ok(_backups_needed(app).await) - }) - .await - .expect("this cache get is infallible"); + // let (code, content_type, body) = cache + // .get_or_insert_async::(&ResponseCacheKey::BackupsNeeded, async move { + // Ok(_backups_needed(app).await) + // }) + // .await + // .expect("this cache get is infallible"); + + // TODO: cache this once new TTLs work + let (code, content_type, body) = _backups_needed(app).await; Response::builder() .status(code)