Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
changed balancer re-load counter. causes less blocking here doing intranet indexing.
orbiter48b93717351d
diff --git a/source/de/anomic/crawler/Balancer.java b/source/de/anomic/crawler/Balancer.javaindex 9d524f7bd..e656d60d2 100644--- a/source/de/anomic/crawler/Balancer.java+++ b/source/de/anomic/crawler/Balancer.java@@ -443,7 +443,7 @@ public class Balancer {// check if we need to get entries from the file indextry {- fillDomainStacks(800);+ fillDomainStacks(200);} catch (IOException e) {Log.logException(e);}@@ -493,7 +493,7 @@ public class Balancer {this.lastDomainStackFill = System.currentTimeMillis();final CloneableIterator<byte[]> i = this.urlFileIndex.keys(true, null);while (i.hasNext()) {- pushHashToDomainStacks(i.next(), 50);+ pushHashToDomainStacks(i.next(), 1000);if (this.domainStacks.size() > maxdomstacksize) break;}Log.logInfo("BALANCER", "re-fill of domain stacks; fileIndex.size() = " + this.urlFileIndex.size() + ", domainStacks.size = " + domainStacks.size() + ", collection time = " + (System.currentTimeMillis() - this.lastDomainStackFill) + " ms");