Author: toad
Date: 2008-12-22 19:46:48 +0000 (Mon, 22 Dec 2008)
New Revision: 24752
Modified:
branches/db4o/freenet/src/freenet/node/NodeClientCore.java
Log:
Make sure we init ArchiveManager before anything else, and run the startup jobs
really early.
Modified: branches/db4o/freenet/src/freenet/node/NodeClientCore.java
===================================================================
--- branches/db4o/freenet/src/freenet/node/NodeClientCore.java 2008-12-22
19:46:16 UTC (rev 24751)
+++ branches/db4o/freenet/src/freenet/node/NodeClientCore.java 2008-12-22
19:46:48 UTC (rev 24752)
@@ -548,11 +548,10 @@
ArchiveManager.init(container, context,
context.nodeDBHandle);
}
- }, NativeThread.NORM_PRIORITY, false);
+ }, NativeThread.MAX_PRIORITY, false);
persister.start();
storeChecker.start(node.executor, "Datastore checker");
- clientDatabaseExecutor.start(node.executor, "Client database
access thread");
if(fcpServer != null)
fcpServer.maybeStart();
if(tmci != null)
@@ -584,6 +583,7 @@
if(startupDatabaseJobs != null &&
startupDatabaseJobs.length > 0)
queue(startupJobRunner, NativeThread.HIGH_PRIORITY, false);
+ clientDatabaseExecutor.start(node.executor, "Client database
access thread");
}
private int startupDatabaseJobsDone = 0;
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs