fixed too small peer number in banner

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@4259 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 17 years ago
parent 515e1bde6d
commit 4331e52d1c

@ -84,7 +84,7 @@ public class Banner {
double myqph = 0;
String type = "";
String network = env.getConfig("network.unit.name", "unspecified").toUpperCase();
int peers = yacyCore.seedDB.sizeConnected();
int peers = yacyCore.seedDB.sizeConnected() + 1; // the '+ 1': the own peer is not included in sizeConnected()
long nlinks = yacyCore.seedDB.countActiveURL();
long nwords = yacyCore.seedDB.countActiveRWI();
double nqpm = yacyCore.seedDB.countActiveQPM();

Loading…
Cancel
Save