utils(dirty): replace Notify with watch

This commit is contained in:
Luna Yao committed 2026-04-06 11:55:25 +02:00
1 parent a031b6f701
commit faa252fc39
4 files changed
+25 -35

No files matched your search

+1 -1
View File
@@ -166,7 +166,7 @@ impl DnsNode {
last_heartbeat = Instant::now();
}
_ = self.mgr.dirty.notified() => {}
_ = self.mgr.dirty.wait() => {}
event = subscriber.recv() => {
match event {