From 4522673567496cdd176c0f61fac179cd22cae5d6 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Thu, 31 Oct 2019 18:24:14 +0100 Subject: [PATCH] Print warning again if polling network is too long --- core/service/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/service/src/lib.rs b/core/service/src/lib.rs index 3057b8ce4dcd4..af9ad845ad110 100644 --- a/core/service/src/lib.rs +++ b/core/service/src/lib.rs @@ -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 );