Improve console output (#3326)

* Cache idle state

* Display import error by default
This commit is contained in:
Arkadiy Paronyan
2019-08-08 09:34:09 +02:00
committed by Gavin Wood
parent 60269d65c6
commit b29277239a
3 changed files with 35 additions and 7 deletions
+1 -1
View File
@@ -671,7 +671,7 @@ fn build_network_future<
let polling_dur = before_polling.elapsed();
log!(
target: "service",
if polling_dur >= Duration::from_millis(50) { Level::Warn } else { Level::Trace },
if polling_dur >= Duration::from_millis(50) { Level::Debug } else { Level::Trace },
"Polling the network future took {:?}",
polling_dur
);