From d66b0276e3a520d058c3de6c459425c4f3916ed8 Mon Sep 17 00:00:00 2001 From: auron_x Date: Sat, 7 Apr 2007 10:03:12 +0000 Subject: [PATCH] *) removed log-output for PPM-calc git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3553 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/yacy/yacyPeerActions.java | 9 --------- 1 file changed, 9 deletions(-) diff --git a/source/de/anomic/yacy/yacyPeerActions.java b/source/de/anomic/yacy/yacyPeerActions.java index 91f3169c8..12938285e 100644 --- a/source/de/anomic/yacy/yacyPeerActions.java +++ b/source/de/anomic/yacy/yacyPeerActions.java @@ -119,15 +119,6 @@ public class yacyPeerActions { //the speed of indexing (pages/minute) of the peer sb.totalPPM = (int) (sb.indexedPages * 60 / Math.max(uptime, 1)); - if (yacyCore.log.isFinest()) { - yacyCore.log.logFinest("PPM-Calculation:\n"+ - "\tStartuptime: "+sb.startupTime+"\n"+ - "\tCurrenttime: "+System.currentTimeMillis()+"\n"+ - "\tUptime: "+uptime+"\n"+ - "\tLastcheck: "+sb.lastseedcheckuptime+"\n"+ - "\tUptimediff: "+uptimediff - ); - } seedDB.mySeed.put(yacySeed.ISPEED, Long.toString(Math.round(Math.max((float) indexedcdiff, 0f) * 60f / Math.max((float) uptimediff, 1f)))); sb.totalQPM = sb.requestedQueries * 60d / Math.max((double) uptime, 1d); seedDB.mySeed.put(yacySeed.RSPEED, Double.toString(sb.totalQPM /*Math.max((float) requestcdiff, 0f) * 60f / Math.max((float) uptimediff, 1f)*/ ));