Skip to content

Commit

Permalink
report how many channels were in gossip when refresh_graph task calls…
Browse files Browse the repository at this point in the history
… listchannels
  • Loading branch information
daywalker90 committed Feb 4, 2024
1 parent 5542600 commit 2ba8b90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/tasks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ pub async fn refresh_graph(plugin: Plugin<PluginState>) -> 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(
Expand Down

0 comments on commit 2ba8b90

Please sign in to comment.