mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-08-07 04:59:49 +00:00
remove redundant heartbeat log
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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");
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user