split structs from service/globals/mod.rs into separate units
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
f3bc87c4e6
commit
f5da75e476
5 changed files with 184 additions and 163 deletions
|
@ -205,10 +205,10 @@ roomid_spacehierarchy_cache: {roomid_spacehierarchy_cache}"
|
|||
self.rooms.spaces.roomid_spacehierarchy_cache.lock().await.clear();
|
||||
}
|
||||
if amount > 6 {
|
||||
self.globals.tls_name_override.write().unwrap().clear();
|
||||
self.globals.resolver.overrides.write().unwrap().clear();
|
||||
}
|
||||
if amount > 7 {
|
||||
self.globals.dns_resolver().clear_cache();
|
||||
self.globals.resolver.resolver.clear_cache();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue