Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
*) removing thread pool eviction for now. Not needed at the moment See: http://www.yacy-forum.de/viewtopic.php?p=18290#18290
theli89286478e74e
diff --git a/source/de/anomic/plasma/plasmaCrawlLoader.java b/source/de/anomic/plasma/plasmaCrawlLoader.javaindex 75fcc2205..18b6ada8a 100644--- a/source/de/anomic/plasma/plasmaCrawlLoader.java+++ b/source/de/anomic/plasma/plasmaCrawlLoader.java@@ -99,7 +99,7 @@ public final class plasmaCrawlLoader extends Thread {// 0 = fail, 1 = block, 2= growthis.crawlerPoolConfig.whenExhaustedAction = GenericObjectPool.WHEN_EXHAUSTED_BLOCK;this.crawlerPoolConfig.minEvictableIdleTimeMillis = 30000;- this.crawlerPoolConfig.timeBetweenEvictionRunsMillis = 30000;+ //this.crawlerPoolConfig.timeBetweenEvictionRunsMillis = 30000;// config.testOnReturn = true;CrawlerFactory theFactory = new CrawlerFactory(diff --git a/source/de/anomic/plasma/plasmaCrawlStacker.java b/source/de/anomic/plasma/plasmaCrawlStacker.javaindex 48d7acade..1131cdd87 100644--- a/source/de/anomic/plasma/plasmaCrawlStacker.java+++ b/source/de/anomic/plasma/plasmaCrawlStacker.java@@ -105,7 +105,7 @@ public final class plasmaCrawlStacker {// 0 = fail, 1 = block, 2= growthis.theWorkerPoolConfig.whenExhaustedAction = GenericObjectPool.WHEN_EXHAUSTED_BLOCK;this.theWorkerPoolConfig.minEvictableIdleTimeMillis = 30000;- this.theWorkerPoolConfig.timeBetweenEvictionRunsMillis = 30000;+ //this.theWorkerPoolConfig.timeBetweenEvictionRunsMillis = 30000;// creating worker poolthis.theWorkerPool = new WorkerPool(new WorkterFactory(this.theWorkerThreadGroup),this.theWorkerPoolConfig);diff --git a/source/de/anomic/server/serverCore.java b/source/de/anomic/server/serverCore.javaindex fa8628e18..75c58bccf 100644--- a/source/de/anomic/server/serverCore.java+++ b/source/de/anomic/server/serverCore.java@@ -243,7 +243,7 @@ public final class serverCore extends serverAbstractThread implements serverThre// 0 = fail, 1 = block, 2= growthis.sessionPoolConfig.whenExhaustedAction = GenericObjectPool.WHEN_EXHAUSTED_BLOCK;this.sessionPoolConfig.minEvictableIdleTimeMillis = this.thresholdSleep;- this.sessionPoolConfig.timeBetweenEvictionRunsMillis = 30000;+ //this.sessionPoolConfig.timeBetweenEvictionRunsMillis = 30000;this.sessionPoolConfig.testOnReturn = true;this.theSessionPool = new SessionPool(new SessionFactory(this.theSessionThreadGroup),this.sessionPoolConfig);