From 2ba8b90f7c6014c8c3d4c98e588dc39d8be32f02 Mon Sep 17 00:00:00 2001 From: daywalker90 Date: Mon, 5 Feb 2024 00:09:46 +0100 Subject: [PATCH] report how many channels were in gossip when refresh_graph task calls listchannels --- src/tasks.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/tasks.rs b/src/tasks.rs index e25d45d..f8bda0f 100644 --- a/src/tasks.rs +++ b/src/tasks.rs @@ -98,7 +98,8 @@ pub async fn refresh_graph(plugin: Plugin) -> Result<(), Error> { info!("Getting all channels in gossip..."); let channels = list_channels(&rpc_path, None, None, None).await?.channels; info!( - "Getting all channels done in {}s!", + "Getting {} channels done in {}s!", + channels.len(), now.elapsed().as_secs().to_string() ); let jobs = read_jobs(