From edb44687710c8eaa00ff3fa17cb2587ee81c8977 Mon Sep 17 00:00:00 2001 From: Jason Volk Date: Tue, 26 Mar 2024 05:52:31 -0700 Subject: [PATCH] clear destinations cache in clear_caches fn. Signed-off-by: Jason Volk --- src/service/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/service/mod.rs b/src/service/mod.rs index e2c49de4..aea0f891 100644 --- a/src/service/mod.rs +++ b/src/service/mod.rs @@ -266,6 +266,7 @@ roomid_spacehierarchy_cache: {roomid_spacehierarchy_cache}" } if amount > 6 { self.globals.resolver.overrides.write().unwrap().clear(); + self.globals.resolver.destinations.write().await.clear(); } if amount > 7 { self.globals.resolver.resolver.clear_cache();