client/authority-discovery: Revert query interval change (#6897)

Revert the accidental query interval change from every one minute back
to every 10 minutes.
This commit is contained in:
Max Inden
2020-08-14 18:15:45 +02:00
committed by GitHub
parent 327e02942c
commit 6611019e2e
@@ -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