fix for problem with relocation of network

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7944 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 14 years ago
parent 85a5487d6d
commit bb0c045036

@ -974,7 +974,6 @@ public final class Switchboard extends serverSwitch {
setConfig("heuristic.blekko", false); setConfig("heuristic.blekko", false);
// relocate // relocate
this.crawlQueues.relocate(this.queuesRoot); // cannot be closed because the busy threads are working with that object
this.peers.relocate( this.peers.relocate(
this.networkRoot, this.networkRoot,
redundancy, redundancy,
@ -987,10 +986,10 @@ public final class Switchboard extends serverSwitch {
wordCacheMaxCount, wordCacheMaxCount,
fileSizeMax, fileSizeMax,
this.useTailCache, this.useTailCache,
this.exceed134217727); this.exceed134217727);
// set the default segment names // set the default segment names
setDefaultSegments(); setDefaultSegments();
this.crawlQueues.relocate(this.queuesRoot); // cannot be closed because the busy threads are working with that object
// create a crawler // create a crawler
this.crawler = new CrawlSwitchboard( this.crawler = new CrawlSwitchboard(

Loading…
Cancel
Save