|
|
@ -460,7 +460,7 @@ public final class plasmaSwitchboard extends serverAbstractSwitch implements ser
|
|
|
|
//try{Thread.currentThread().sleep(5000);} catch (InterruptedException e) {} // for profiler
|
|
|
|
//try{Thread.currentThread().sleep(5000);} catch (InterruptedException e) {} // for profiler
|
|
|
|
this.yc = new yacyCore(this);
|
|
|
|
this.yc = new yacyCore(this);
|
|
|
|
//log.logSystem("Started YaCy Protocol Core");
|
|
|
|
//log.logSystem("Started YaCy Protocol Core");
|
|
|
|
System.gc(); try{Thread.currentThread().sleep(5000);} catch (InterruptedException e) {} // for profiler
|
|
|
|
// System.gc(); try{Thread.currentThread().sleep(5000);} catch (InterruptedException e) {} // for profiler
|
|
|
|
serverInstantThread.oneTimeJob(yc, "loadSeeds", yacyCore.log, 3000);
|
|
|
|
serverInstantThread.oneTimeJob(yc, "loadSeeds", yacyCore.log, 3000);
|
|
|
|
|
|
|
|
|
|
|
|
// initializing the stackCrawlThread
|
|
|
|
// initializing the stackCrawlThread
|
|
|
@ -837,6 +837,14 @@ public final class plasmaSwitchboard extends serverAbstractSwitch implements ser
|
|
|
|
return hasDoneSomething;
|
|
|
|
return hasDoneSomething;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
|
|
* Creates a new File instance with absolute path of ours Seed File.<br>
|
|
|
|
|
|
|
|
* @return a new File instance
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
public File getOwnSeedFile() {
|
|
|
|
|
|
|
|
return new File(getRootPath(), getConfig("yacyOwnSeedFile", "mySeed.txt"));
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* With this function the crawling process can be paused
|
|
|
|
* With this function the crawling process can be paused
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|