mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 14:41:11 +00:00
Improve console output (#3326)
* Cache idle state * Display import error by default
This commit is contained in:
committed by
Gavin Wood
parent
60269d65c6
commit
b29277239a
@@ -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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user