mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-09-03 01:25:37 +00:00
node_mgr: heartbeat log
node_mgr log
This commit is contained in:
@@ -12,6 +12,7 @@ use itertools::Itertools;
|
|||||||
use moka::future::Cache;
|
use moka::future::Cache;
|
||||||
use std::collections::HashSet;
|
use std::collections::HashSet;
|
||||||
use std::time::Duration;
|
use std::time::Duration;
|
||||||
|
use tracing::instrument;
|
||||||
use uuid::Uuid;
|
use uuid::Uuid;
|
||||||
|
|
||||||
#[derive(Debug, Clone, Default)]
|
#[derive(Debug, Clone, Default)]
|
||||||
@@ -119,6 +120,8 @@ impl DnsNodeMgr {
|
|||||||
impl DnsNodeMgrRpc for DnsNodeMgr {
|
impl DnsNodeMgrRpc for DnsNodeMgr {
|
||||||
type Controller = BaseController;
|
type Controller = BaseController;
|
||||||
|
|
||||||
|
// TODO: change level to trace
|
||||||
|
#[instrument(level = "debug", skip_all, fields(from = ?input.id, snapshot = ?input.snapshot), err)]
|
||||||
async fn heartbeat(
|
async fn heartbeat(
|
||||||
&self,
|
&self,
|
||||||
_: BaseController,
|
_: BaseController,
|
||||||
|
|||||||
Reference in New Issue
Block a user