mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-09-03 09:35:41 +00:00
server: remove Notify of dirty
This commit is contained in:
@@ -87,7 +87,6 @@ pub struct DnsServerDirtyState {
|
|||||||
zones: AtomicBool,
|
zones: AtomicBool,
|
||||||
addresses: AtomicBool,
|
addresses: AtomicBool,
|
||||||
listeners: AtomicBool,
|
listeners: AtomicBool,
|
||||||
reload: Notify,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
struct DnsServerRuntime {
|
struct DnsServerRuntime {
|
||||||
@@ -327,7 +326,6 @@ impl DnsServerRpc for DnsServer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
self.clients.insert(id, new).await;
|
self.clients.insert(id, new).await;
|
||||||
self.dirty.reload.notify_one();
|
|
||||||
}
|
}
|
||||||
false
|
false
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user