From a82e926c5dce46739381e901241ecaf692855880 Mon Sep 17 00:00:00 2001 From: auron_x Date: Fri, 8 Sep 2006 15:19:16 +0000 Subject: [PATCH] *) fix for wrong totalPPM-calculation git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2522 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/yacy/yacyPeerActions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/de/anomic/yacy/yacyPeerActions.java b/source/de/anomic/yacy/yacyPeerActions.java index efb025353..6cde64694 100644 --- a/source/de/anomic/yacy/yacyPeerActions.java +++ b/source/de/anomic/yacy/yacyPeerActions.java @@ -131,7 +131,7 @@ public class yacyPeerActions { seedDB.mySeed.put(yacySeed.ISPEED, Long.toString(Math.round((float)indexedcdiff / ((float)uptimediff/60f)))); } if(uptime > 0) - sb.setConfig("totalPPM", Long.toString(indexedc / uptime)); + sb.setConfig("totalPPM", Long.toString(indexedc / (uptime/60))); else sb.setConfig("totalPPM", Long.toString(indexedc / 1)); //no division by zero