log & clippy

This commit is contained in:
Luna Yao
2026-04-06 11:54:50 +02:00
parent cddf6abfa7
commit 23f63f1e4a
6 changed files with 10 additions and 6 deletions
+2
View File
@@ -18,6 +18,7 @@ use itertools::Itertools;
use moka::future::Cache;
use std::sync::Arc;
use std::time::Duration;
use tracing::instrument;
#[derive(Debug, Clone)]
pub struct DnsPeerInfo {
@@ -111,6 +112,7 @@ impl DnsPeerMgr {
self.dirty.notify_one();
}
#[instrument(skip(self), level = "trace", ret)]
async fn fetch(&self, peer_id: PeerId) -> anyhow::Result<DnsPeerInfo> {
self.peer_mgr
.get_peer_rpc_mgr()