mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-08-30 15:59:21 +00:00
utils: add DirtyState
This commit is contained in:
@@ -48,7 +48,7 @@ impl DnsClient {
|
||||
..Default::default()
|
||||
};
|
||||
loop {
|
||||
self.mgr.dirty.notified().await;
|
||||
self.mgr.dirty.notify.notified().await;
|
||||
if let Err(e) = self.heartbeat(&mut rpc, &mut heartbeat).await {
|
||||
tracing::error!("DnsClient heartbeat failed: {:?}", e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user