Fix, add metrics and cleanup.

This commit is contained in:
Ara Sadoyan
2026-05-13 16:17:11 +02:00
parent 136ccc8e44
commit 20329518c1
3 changed files with 9 additions and 49 deletions
-3
View File
@@ -19,9 +19,6 @@ pub trait GetHost {
}
#[async_trait]
impl GetHost for LB {
// fn get_upstreams(&self) -> Arc<UpstreamsDashMap> {
// self.ump_full.clone()
// }
fn get_host(&self, peer: &str, path: &str, backend_id: Option<&str>) -> Option<Arc<InnerMap>> {
if let Some(b) = backend_id {
if let Some(bb) = self.ump_byid.get(b) {