From a16206e38bb1b23f0168d2445fc730bf003c8348 Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Thu, 16 Aug 2012 17:24:25 +0200 Subject: [PATCH] more attempts to clean the index (cleaning is faster then) --- source/net/yacy/peers/Network.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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