mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-09-11 12:53:00 +02:00
implement clear_cache() for resolver service
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
9ce95a7030
commit
8010505853
3 changed files with 27 additions and 1 deletions
|
@ -78,6 +78,10 @@ impl Resolver {
|
|||
server: server.clone(),
|
||||
}))
|
||||
}
|
||||
|
||||
/// Clear the in-memory hickory-dns caches
|
||||
#[inline]
|
||||
pub fn clear_cache(&self) { self.resolver.clear_cache(); }
|
||||
}
|
||||
|
||||
impl Resolve for Resolver {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue