clear destinations cache in clear_caches fn.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user