From c5d8dc7d6d32cfd0ff46b2d0ee5df8c532580f86 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Mon, 5 Apr 2021 20:42:46 +0200 Subject: [PATCH] Print stats --- src/rpc/membership.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rpc/membership.rs b/src/rpc/membership.rs index 921ecb14..c9253bc2 100644 --- a/src/rpc/membership.rs +++ b/src/rpc/membership.rs @@ -652,7 +652,6 @@ impl System { async fn update_status(self: &Arc, updaters: &Updaters, status: Status) { if status.hash != self.status.borrow().hash { - info!("Persisting new peer list"); let mut list = status.to_serializable_membership(&self); @@ -669,6 +668,7 @@ impl System { } if list.len() > 0 { + info!("Persisting new peer list ({} peers)", list.len()); self.persist_status .save_async(&list) .await