Skip to content
Snippets Groups Projects
Commit 9de6dea4 authored by Pierre Krieger's avatar Pierre Krieger Committed by Bastian Köcher
Browse files

Print warning again if polling network is too long (#3984)

parent 8207b4fc
No related merge requests found
......@@ -459,7 +459,7 @@ fn build_network_future<
let polling_dur = before_polling.elapsed();
log!(
target: "service",
if polling_dur >= Duration::from_millis(50) { Level::Debug } else { Level::Trace },
if polling_dur >= Duration::from_secs(1) { Level::Warn } else { Level::Trace },
"Polling the network future took {:?}",
polling_dur
);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment