*) removing thread pool eviction for now. Not needed at the moment

See: http://www.yacy-forum.de/viewtopic.php?p=18290#18290

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1801 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 19 years ago
parent 759800f543
commit 89286478e7

@ -99,7 +99,7 @@ public final class plasmaCrawlLoader extends Thread {
// 0 = fail, 1 = block, 2= grow
this.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(

@ -105,7 +105,7 @@ public final class plasmaCrawlStacker {
// 0 = fail, 1 = block, 2= grow
this.theWorkerPoolConfig.whenExhaustedAction = GenericObjectPool.WHEN_EXHAUSTED_BLOCK;
this.theWorkerPoolConfig.minEvictableIdleTimeMillis = 30000;
this.theWorkerPoolConfig.timeBetweenEvictionRunsMillis = 30000;
//this.theWorkerPoolConfig.timeBetweenEvictionRunsMillis = 30000;
// creating worker pool
this.theWorkerPool = new WorkerPool(new WorkterFactory(this.theWorkerThreadGroup),this.theWorkerPoolConfig);

@ -243,7 +243,7 @@ public final class serverCore extends serverAbstractThread implements serverThre
// 0 = fail, 1 = block, 2= grow
this.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);

Loading…
Cancel
Save