aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/Compiler.hs
diff options
context:
space:
mode:
authorpacien2019-12-29 09:54:55 +0100
committerpacien2019-12-29 09:54:55 +0100
commit119d837edce4d4c109539b6722fab162ab29c0b0 (patch)
tree6fb2c1e188d839c87ee9db90fe0b0a1ae6a29059 /compiler/src/Compiler.hs
parent1872dbe68d4a68f43990f8a93e3ff4716eecf525 (diff)
downloadldgallery-119d837edce4d4c109539b6722fab162ab29c0b0.tar.gz
compiler: allow fast recovery from partial gallery compilation
Diffstat (limited to 'compiler/src/Compiler.hs')
-rw-r--r--compiler/src/Compiler.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/Compiler.hs b/compiler/src/Compiler.hs
index dbe6cae..0a3e540 100644
--- a/compiler/src/Compiler.hs
+++ b/compiler/src/Compiler.hs
@@ -73,7 +73,7 @@ compileGallery inputDirPath outputDirPath rebuildAll =
73 let sourceTree = filterDir galleryDirFilter inputDir 73 let sourceTree = filterDir galleryDirFilter inputDir
74 inputTree <- readInputTree sourceTree 74 inputTree <- readInputTree sourceTree
75 75
76 invalidateCache <- isOutdated inputGalleryConf outputIndex 76 invalidateCache <- isOutdated False inputGalleryConf outputIndex
77 let cache = if invalidateCache || rebuildAll then skipCached else withCached 77 let cache = if invalidateCache || rebuildAll then skipCached else withCached
78 let itemProc = itemProcessor (pictureMaxResolution config) cache 78 let itemProc = itemProcessor (pictureMaxResolution config) cache
79 let thumbnailProc = thumbnailProcessor (thumbnailResolution config) cache 79 let thumbnailProc = thumbnailProcessor (thumbnailResolution config) cache