mirror of
https://github.com/EasyTier/EasyTier.git
synced 2026-08-06 20:49:46 +00:00
peer_mgr: format
This commit is contained in:
@@ -41,11 +41,11 @@ const DNS_PEER_TTL: Duration = Duration::from_secs(3);
|
||||
|
||||
#[derive(Debug, Deref)]
|
||||
pub struct DnsPeerMgr {
|
||||
#[deref]
|
||||
mgr: Arc<PeerManager>,
|
||||
|
||||
peers: Cache<PeerId, DnsPeerInfo>,
|
||||
pub(super) dirty: AtomicBool,
|
||||
|
||||
#[deref]
|
||||
mgr: Arc<PeerManager>,
|
||||
}
|
||||
|
||||
impl DnsPeerMgr {
|
||||
|
||||
Reference in New Issue
Block a user