File watcher improvements

This commit is contained in:
Ara Sadoyan
2025-05-08 17:43:41 +02:00
parent a53e26a5db
commit 1be09d21fc
4 changed files with 8 additions and 8 deletions

View File

@@ -54,14 +54,10 @@ impl BackgroundService for LB {
clone_dashmap_into(&ss.upstreams, &self.ump_full);
clone_dashmap_into(&ss.upstreams, &self.ump_upst);
self.proxyconf.clear();
// println!(" ====> {:?}", self.extraparams);
{
let mut write_guard = self.extraparams.write().await;
write_guard.stickysessions = ss.extraparams.stickysessions;
}
// println!(" ====> {:?}", self.extraparams);
match ss.globals {
Some(globals) => {
for (k,v) in globals {