From 44bbe1af606d9adaf575d5b1a620c4fba66cac9d Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 2 Nov 2011 20:48:16 +0100 Subject: [PATCH] Set the EarlyEncode flag on insert. Rumour has it that this actually speeds up the insert. --- src/de/todesbaum/jsite/application/ProjectInserter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/todesbaum/jsite/application/ProjectInserter.java b/src/de/todesbaum/jsite/application/ProjectInserter.java index b14dadb..cb0e830 100644 --- a/src/de/todesbaum/jsite/application/ProjectInserter.java +++ b/src/de/todesbaum/jsite/application/ProjectInserter.java @@ -521,7 +521,7 @@ public class ProjectInserter implements FileScannerListener, Runnable { } putDir.setVerbosity(Verbosity.ALL); putDir.setMaxRetries(-1); - putDir.setEarlyEncode(false); + putDir.setEarlyEncode(true); for (String filename : files) { FileEntry fileEntry = createFileEntry(filename, edition, containerFiles); if (fileEntry != null) { -- 2.7.4