Author: toad
Date: 2009-02-12 16:20:25 +0000 (Thu, 12 Feb 2009)
New Revision: 25599
Modified:
branches/db4o/freenet/src/freenet/node/Node.java
Log:
Block size
Modified: branches/db4o/freenet/src/freenet/node/Node.java
===================================================================
--- branches/db4o/freenet/src/freenet/node/Node.java 2009-02-12 16:17:43 UTC
(rev 25598)
+++ branches/db4o/freenet/src/freenet/node/Node.java 2009-02-12 16:20:25 UTC
(rev 25599)
@@ -866,6 +866,10 @@
* has already been created. Yes, this has happened, yes, it
sucks.
* Add our own hook to rollback and close... */
dbConfig.automaticShutDown(false);
+ /* Block size 8 should have minimal impact since pointers are
this
+ * long, and allows databases of up to 16GB.
+ * FIXME make configurable by user. */
+ dbConfig.blockSize(8);
dbConfig.diagnostic().addListener(new DiagnosticListener() {
public void onDiagnostic(Diagnostic arg0) {
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs