Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
seed.CCOUNT is interpreted as a double value not int
fuchsia718858e8b43
diff --git a/htroot/Network.java b/htroot/Network.javaindex 022ce8d21..1233cef66 100644--- a/htroot/Network.java+++ b/htroot/Network.java@@ -394,7 +394,7 @@ public class Network {prop.putNum(STR_TABLE_LIST + conCount + "_complete_CRWCnt", Long.parseLong(seed.get(yacySeed.CRWCNT, "0")));prop.putNum(STR_TABLE_LIST + conCount + "_complete_CRTCnt", Long.parseLong(seed.get(yacySeed.CRTCNT, "0")));prop.putNum(STR_TABLE_LIST + conCount + "_complete_seeds", Long.parseLong(seed.get(yacySeed.SCOUNT, "0")));- prop.putNum(STR_TABLE_LIST + conCount + "_complete_connects", Long.parseLong(seed.get(yacySeed.CCOUNT, "0")));+ prop.putNum(STR_TABLE_LIST + conCount + "_complete_connects", Double.parseDouble(seed.get(yacySeed.CCOUNT, "0")));prop.putHTML(STR_TABLE_LIST + conCount + "_complete_userAgent", userAgent);} else {prop.put(STR_TABLE_LIST + conCount + "_complete", 0);diff --git a/source/de/anomic/yacy/yacySeed.java b/source/de/anomic/yacy/yacySeed.javaindex 45e7dcf1e..72e02c021 100644--- a/source/de/anomic/yacy/yacySeed.java+++ b/source/de/anomic/yacy/yacySeed.java@@ -160,7 +160,7 @@ public class yacySeed {public static final String ICOUNT = "ICount";/** the number of seeds that the peer has stored */public static final String SCOUNT = "SCount";- /** the number of clients that the peer connects (connects/hour) */+ /** the number of clients that the peer connects (connects/hour as double) */public static final String CCOUNT = "CCount";/** Citation Rank (Own) - Count */public static final String CRWCNT = "CRWCnt";