remove redundant heartbeat log

This commit is contained in:
Luna Yao
2026-04-28 05:20:53 +02:00
parent 88297868c3
commit 40d3e48cc4
3 changed files with 1 additions and 9 deletions
+1 -1
View File
@@ -21,6 +21,6 @@ pub static DNS_SERVER_RPC_ADDR: LazyLock<Url> =
pub const DNS_NODE_TTI: Duration = Duration::from_secs(5);
pub const DNS_NODE_RR_INTERVAL: Duration = Duration::from_secs(1);
pub const DNS_NODE_RR_INTERVAL: Duration = Duration::from_secs(4);
pub const DNS_SERVER_ELECTION_INTERVAL: Duration = Duration::from_secs(5);
pub const DNS_PEER_TTI: Duration = Duration::from_secs(3);
-1
View File
@@ -184,7 +184,6 @@ impl DnsNodeRuntime {
.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");
-7
View File
@@ -12,7 +12,6 @@ use hickory_server::zone_handler::Catalog;
use itertools::Itertools;
use moka::future::Cache;
use std::collections::HashSet;
use tracing::instrument;
use uuid::Uuid;
#[derive(Debug, Clone, Default)]
@@ -127,12 +126,6 @@ impl DnsNodeMgr {
impl DnsNodeMgrRpc for DnsNodeMgr {
type Controller = BaseController;
#[instrument(
level = "trace",
skip_all,
fields(from = ?input.id, snapshot = ?input.snapshot),
err
)]
async fn heartbeat(
&self,
_: BaseController,