Revert "Set the EarlyEncode flag on insert."
authorDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Fri, 4 Nov 2011 04:44:04 +0000 (05:44 +0100)
committerDavid ‘Bombe’ Roden <bombe@freenetproject.org>
Fri, 4 Nov 2011 04:44:04 +0000 (05:44 +0100)
This reverts commit 44bbe1af606d9adaf575d5b1a620c4fba66cac9d.

Apparently this flag tends to cause database breakage.

src/de/todesbaum/jsite/application/ProjectInserter.java

index cb0e830..b14dadb 100644 (file)
@@ -521,7 +521,7 @@ public class ProjectInserter implements FileScannerListener, Runnable {
                }
                putDir.setVerbosity(Verbosity.ALL);
                putDir.setMaxRetries(-1);
-               putDir.setEarlyEncode(true);
+               putDir.setEarlyEncode(false);
                for (String filename : files) {
                        FileEntry fileEntry = createFileEntry(filename, edition, containerFiles);
                        if (fileEntry != null) {