From eec7d7135a56b1198c084413d2dab0a9e92ad90b Mon Sep 17 00:00:00 2001 From: Max Inden Date: Fri, 14 Aug 2020 18:15:45 +0200 Subject: [PATCH] client/authority-discovery: Revert query interval change (#6897) Revert the accidental query interval change from every one minute back to every 10 minutes. --- client/authority-discovery/src/worker.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/authority-discovery/src/worker.rs b/client/authority-discovery/src/worker.rs index dd13b89278e2d..16f19489f94b7 100644 --- a/client/authority-discovery/src/worker.rs +++ b/client/authority-discovery/src/worker.rs @@ -182,8 +182,8 @@ where // External addresses of other authorities can change at any given point in time. The // interval on which to query for external addresses of other authorities is a trade off // between efficiency and performance. - let query_interval_duration = Duration::from_secs(60); let query_interval_start = Instant::now() + LIBP2P_KADEMLIA_BOOTSTRAP_TIME; + let query_interval_duration = Duration::from_secs(10 * 60); let query_interval = interval_at(query_interval_start, query_interval_duration); // Querying 500 [`AuthorityId`]s takes ~1m on the Kusama DHT (10th of August 2020) when