mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-06 11:28:02 +00:00
Print warning again if polling network is too long (#3984)
This commit is contained in:
committed by
Bastian Köcher
parent
8207b4fceb
commit
9de6dea4c3
@@ -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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user