summaryrefslogtreecommitdiff
path: root/src/photoalbum.default.conf
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-06-05 16:22:32 +0300
committerPaul Buetow <paul@buetow.org>2026-06-05 16:22:32 +0300
commit3d3c5fda1021206655783b101e85f0b41f3588f4 (patch)
tree61c1048d91c6ed6e8bd5e97c786db7411b4b921a /src/photoalbum.default.conf
parent41aac9fb4aed365b8f0fc8ec09798268da5f036c (diff)
Add timeouts for generation tools
Diffstat (limited to 'src/photoalbum.default.conf')
-rw-r--r--src/photoalbum.default.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/photoalbum.default.conf b/src/photoalbum.default.conf
index 6733f19..6ce1f6d 100644
--- a/src/photoalbum.default.conf
+++ b/src/photoalbum.default.conf
@@ -9,6 +9,8 @@ HEIGHT=1200
MAXPREVIEWS=40
# Parallel ImageMagick jobs for photo, thumbnail, and blur processing.
IMAGE_JOBS=3
+# Timeout in seconds for each ImageMagick command.
+IMAGEMAGICK_TIMEOUT=60
# Randomly shuffle all previews.
# SHUFFLE=yes
# Generate a splash landing page at index.html.
@@ -26,6 +28,8 @@ TEMPLATE_DIR=/usr/share/photoalbum/templates/default
# Includes a .tar of the incoming dir in the dist, can be yes or no
TARBALL_INCLUDE=yes
TARBALL_SUFFIX=.tar
+# Timeout in seconds for tar archive creation.
+TAR_TIMEOUT=120
TAR_OPTS=(-c)
# Some debugging options