aboutsummaryrefslogtreecommitdiff
path: root/src/peering/fullmesh.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2021-10-13 17:30:41 +0200
committerAlex Auvolat <alex@adnab.me>2021-10-13 17:30:41 +0200
commit7eea46dcf3f93377163a51288a1e9a807584256c (patch)
tree8b462c6d6c8f8d6af90cebc49eed11cfbfa165e9 /src/peering/fullmesh.rs
parentbc86bd3986429c4dac00a2cdb5cf8e30a092b6f5 (diff)
downloadnetapp-7eea46dcf3f93377163a51288a1e9a807584256c.tar.gz
netapp-7eea46dcf3f93377163a51288a1e9a807584256c.zip
Properly implement watches for Basalt
Diffstat (limited to 'src/peering/fullmesh.rs')
-rw-r--r--src/peering/fullmesh.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/peering/fullmesh.rs b/src/peering/fullmesh.rs
index 793eeb2..1162048 100644
--- a/src/peering/fullmesh.rs
+++ b/src/peering/fullmesh.rs
@@ -178,12 +178,12 @@ impl FullMeshPeeringStrategy {
// 1. Read current state: get list of connected peers (ping them)
let (to_ping, to_retry) = {
let known_hosts = self.known_hosts.read().unwrap();
- debug!("known_hosts: {} peers", known_hosts.list.len());
+ trace!("known_hosts: {} peers", known_hosts.list.len());
let mut to_ping = vec![];
let mut to_retry = vec![];
for (id, info) in known_hosts.list.iter() {
- debug!("{}, {:?}", hex::encode(id), info);
+ trace!("{}, {:?}", hex::encode(id), info);
match info.state {
PeerConnState::Connected => {
let must_ping = match info.last_seen {