From: David ‘Bombe’ Roden Date: Wed, 2 Nov 2011 19:48:16 +0000 (+0100) Subject: Set the EarlyEncode flag on insert. X-Git-Tag: 0.10-rc1~48 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=44bbe1af606d9adaf575d5b1a620c4fba66cac9d;p=jSite.git Set the EarlyEncode flag on insert. Rumour has it that this actually speeds up the insert. --- 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) {