Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

more attempts to clean the index (cleaning is faster then)

Michael Peter Christena16206e38bb1
diff --git a/source/net/yacy/peers/Network.java b/source/net/yacy/peers/Network.java
index dcaae8c16..96b181987 100644
--- a/source/net/yacy/peers/Network.java
+++ b/source/net/yacy/peers/Network.java
@@ -420,8 +420,8 @@ public class Network
attempts = diff;
}
} else {
- if ( attempts > PING_MIN_RUNNING ) {
- attempts = PING_MIN_RUNNING;
+ if ( attempts > PING_MAX_RUNNING ) {
+ attempts = PING_MAX_RUNNING;
}
}
seeds = PeerSelection.seedsByAge(this.sb.peers, false, attempts); // best for seed list maintenance/cleaning