Skip to content

Commit 9b293fa

Browse files
committed
Try to add peer every 10 minutes tp prevent any possiblity of static network.
1 parent c109951 commit 9b293fa

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

servers/src/mwc/seed.rs

-3
Original file line numberDiff line numberDiff line change
@@ -418,9 +418,6 @@ fn listen_for_addrs(
418418
listen_q_addrs
419419
.retain(|p| !(peers.is_known(p).unwrap_or(false) || connecting_history.contains_key(p)));
420420

421-
// If we have a healthy number of outbound peers then we are done here.
422-
debug_assert!(!peers.enough_outbound_peers());
423-
424421
connection_threads.retain(|h| !h.is_finished());
425422

426423
while !listen_q_addrs.is_empty() {

0 commit comments

Comments
 (0)