refactor(app-proxy): drop invite metadata and database access (#2464)

This commit is contained in:
Hampus authored and GitHub committed 2026-09-05 00:13:04 +02:00
1 parent 3f1f899b23
commit 639ade3802
13 files changed
+32 -1277

No files matched your search

+1 -3
View File
@@ -3,9 +3,8 @@
use crate::config::AppProxyConfig;
use crate::csp::CompiledCspPolicy;
use crate::discovery_cache::DiscoveryCache;
use crate::invite_meta::InviteMetaResolver;
use fluxer_common::geoip::GeoipResolver;
use std::sync::{Arc, OnceLock};
use std::sync::Arc;
use std::time::Duration;
use tokio::io::AsyncReadExt;
use tokio::sync::Semaphore;
@@ -44,7 +43,6 @@ pub struct AppState {
pub http_client: reqwest::Client,
pub discovery_cache: Arc<DiscoveryCache>,
pub geoip: Arc<GeoipResolver>,
pub invite_meta: Arc<OnceLock<InviteMetaResolver>>,
pub index_html: Option<Arc<str>>,
pub budgets: AppProxyBudgets,
}