From 675d557e88738b54f706b54f10520da4e0aa37d2 Mon Sep 17 00:00:00 2001 From: Michael Christen Date: Wed, 14 Dec 2011 22:21:19 +0100 Subject: [PATCH] removed debug logging --- source/net/yacy/peers/dht/PeerSelection.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/net/yacy/peers/dht/PeerSelection.java b/source/net/yacy/peers/dht/PeerSelection.java index 4bd012c3a..95e1f3913 100755 --- a/source/net/yacy/peers/dht/PeerSelection.java +++ b/source/net/yacy/peers/dht/PeerSelection.java @@ -490,15 +490,15 @@ public class PeerSelection { public static Map seedsByAge(final SeedDB seedDB, final boolean up, int count) { if (count > seedDB.sizeConnected()) count = seedDB.sizeConnected(); Seed ys; - long age; + //long age; final Iterator s = seedDB.seedsSortedConnected(!up, Seed.LASTSEEN); try { final Map result = new HashMap(); while (s.hasNext() && count-- > 0) { ys = s.next(); if (ys != null && ys.hash != null) { - age = (System.currentTimeMillis() - ys.getLastSeenUTC()) / 1000 / 60; - System.out.println("selected seedsByAge up=" + up + ", age/min = " + age); + //age = (System.currentTimeMillis() - ys.getLastSeenUTC()) / 1000 / 60; + //System.out.println("selected seedsByAge up=" + up + ", age/min = " + age); result.put(ys.hash, ys); } }