log & clippy

This commit is contained in:
Luna Yao
2026-04-03 15:07:08 +02:00
parent cddf6abfa7
commit 23f63f1e4a
6 changed files with 10 additions and 6 deletions
+2
View File
@@ -237,8 +237,10 @@ impl DnsNode {
.scoped_client::<DnsNodeMgrRpcClientFactory<BaseController>>("".to_string())
.await?;
tracing::trace!(?request, "sending heartbeat");
let response = client.heartbeat(BaseController::default(), request).await?;
if response.resync {
tracing::trace!("resync requested by server, sending full snapshot");
client
.heartbeat(BaseController::default(), heartbeat.clone())
.await?;