fix(app-proxy): separate readiness from liveness (#2322)

This commit is contained in:
Hampus authored and GitHub committed 2026-09-01 20:47:18 +02:00
1 parent 53a9fdc4b6
commit a93f9dd0af
9 files changed
+295 -26

No files matched your search

+2 -2
View File
@@ -4,7 +4,7 @@ use crate::config::AppProxyConfig;
use crate::discovery_cache::DiscoveryCache;
use crate::invite_meta::InviteMetaResolver;
use fluxer_common::geoip::GeoipResolver;
use std::sync::Arc;
use std::sync::{Arc, OnceLock};
use std::time::Duration;
#[derive(Clone)]
@@ -13,7 +13,7 @@ pub struct AppState {
pub http_client: reqwest::Client,
pub discovery_cache: Arc<DiscoveryCache>,
pub geoip: Arc<GeoipResolver>,
pub invite_meta: Option<Arc<InviteMetaResolver>>,
pub invite_meta: Arc<OnceLock<InviteMetaResolver>>,
pub index_html: Option<Arc<str>>,
}