clear destinations cache in clear_caches fn.

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk authored and June committed 2024-03-26 22:24:24 -04:00
1 parent c31de51efc
commit edb4468771
1 file changed
+1
+1
View File
@@ -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();