Improve console output (#3326)

* Cache idle state

* Display import error by default
This commit is contained in:
Arkadiy Paronyan authored and Gavin Wood committed 2019-08-08 09:34:09 +02:00
1 parent 60269d65c6
commit b29277239a
3 files changed
+35 -7

No files matched your search

+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
);