summaryrefslogtreecommitdiff
path: root/defaults/yacy.init
diff options
context:
space:
mode:
authorluccioman <luccioman@users.noreply.github.com>2018-12-11 22:31:31 +0100
committerluccioman <luccioman@users.noreply.github.com>2018-12-11 22:31:31 +0100
commit08ea0b03977faebc5504afb7427068a3ab83a5f7 (patch)
treec68fa168851cf28dc26ed8f7daf134cacf280fa6 /defaults/yacy.init
parent7c7b38cb5a17b652de8202df0fb574d7d2b769a1 (diff)
Added a configurable timeout to wkhtmltopdf calls for pdf snapshots
Necessary to prevent blocking the indexing workflow when some wkhtmltopdf renderings fail without terminating
Diffstat (limited to 'defaults/yacy.init')
-rw-r--r--defaults/yacy.init4
1 files changed, 4 insertions, 0 deletions
diff --git a/defaults/yacy.init b/defaults/yacy.init
index d2175eb35..92367510b 100644
--- a/defaults/yacy.init
+++ b/defaults/yacy.init
@@ -858,6 +858,10 @@ crawler.latencyFactor = 0.5
# defined here
crawler.onDemandLimit = 1000
+# The maximum time in seconds to wait for each wkhtmltopdf call when rendering PDF snapshots
+# Beyond that limit the process is killed
+snapshots.wkhtmltopdf.timeout = 30
+
# maximum size of indexing queue
indexer.slots = 100