mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-08-07 21:19:51 +00:00
utils(dirty): replace Notify with watch
This commit is contained in:
@@ -166,7 +166,7 @@ impl DnsNode {
|
||||
last_heartbeat = Instant::now();
|
||||
}
|
||||
|
||||
_ = self.mgr.dirty.notified() => {}
|
||||
_ = self.mgr.dirty.wait() => {}
|
||||
|
||||
event = subscriber.recv() => {
|
||||
match event {
|
||||
|
||||
Reference in New Issue
Block a user