mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-10-16 17:46:14 -08:00
utils(dirty): replace Notify with watch
This commit is contained in:
1 parent
a031b6f701
commit
faa252fc39
4 files changed
+25
-35
No files matched your search
@@ -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