Skip to content

Commit

Permalink
chore(launchpad): move log line out of the loop
Browse files Browse the repository at this point in the history
  • Loading branch information
RolandSherwin authored and joshuef committed Jun 4, 2024
1 parent 07e1538 commit 28e944f
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions node-launchpad/src/node_stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ impl NodeStats {
while let Some((result, service_name)) = stream.next().await {
match result {
Ok(stats) => {
info!("Obtained node stats from {service_name:?}");
all_node_stats.merge(&stats);
}
Err(err) => {
Expand Down Expand Up @@ -128,12 +127,11 @@ impl NodeStats {
_ => {}
}
}

debug!(
"Fetched stats from metrics_port {metrics_port:?} in {:?}",
now.elapsed()
);
}
trace!(
"Fetched stats from metrics_port {metrics_port:?} in {:?}",
now.elapsed()
);
Ok(stats)
}
}

0 comments on commit 28e944f

Please sign in to comment.