Reduce ReceiveUpdates log spam
This commit is contained in:
parent
7207a91aa5
commit
7b5cdf6adf
|
@ -1866,7 +1866,7 @@ impl Node {
|
||||||
|
|
||||||
fn report_time_spent(label: &str, time: &Duration, extra: &str) {
|
fn report_time_spent(label: &str, time: &Duration, extra: &str) {
|
||||||
let time_ms = duration_as_ms(time);
|
let time_ms = duration_as_ms(time);
|
||||||
if time_ms > 50 {
|
if time_ms > 100 {
|
||||||
info!("{} took: {} ms {}", label, time_ms, extra);
|
info!("{} took: {} ms {}", label, time_ms, extra);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue