Update main.rs

This commit is contained in:
Alexey 2026-02-20 17:42:20 +03:00
parent a79f0bbaf5
commit 7304dacd60
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -891,7 +891,7 @@ match crate::transport::middle_proxy::fetch_proxy_secret(proxy_secret_path).awai
}); });
} }
for listener in listeners { for (listener, listener_proxy_protocol) in listeners {
let mut config_rx: tokio::sync::watch::Receiver<Arc<ProxyConfig>> = config_rx.clone(); let mut config_rx: tokio::sync::watch::Receiver<Arc<ProxyConfig>> = config_rx.clone();
let stats = stats.clone(); let stats = stats.clone();
let upstream_manager = upstream_manager.clone(); let upstream_manager = upstream_manager.clone();