Skip to content

Commit

Permalink
*) fix for stupid mistake in new ppm-calc which caused decimal digits…
Browse files Browse the repository at this point in the history
… beeing written to seedinfo

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2463 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
auron_x committed Aug 28, 2006
1 parent 5e558fb commit 479b74e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/de/anomic/yacy/yacyPeerActions.java
Expand Up @@ -128,7 +128,7 @@ public void updateMySeed() {
seedDB.mySeed.put(yacySeed.ISPEED, Long.toString(0));
}else{
//set the PPM
seedDB.mySeed.put(yacySeed.ISPEED, Float.toString(Math.round((float)indexedcdiff / ((float)uptimediff/60f))));
seedDB.mySeed.put(yacySeed.ISPEED, Long.toString(Math.round((float)indexedcdiff / ((float)uptimediff/60f))));
}
if(uptime > 0)
sb.setConfig("totalPPM", Long.toString(indexedc / uptime));
Expand Down

0 comments on commit 479b74e

Please sign in to comment.