Skip to content

Commit 7f6b598

Browse files
committed
add support for command timeouts
1 parent f2e7a84 commit 7f6b598

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

charts/docspell/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ name: docspell
33
description: A Helm chart to deploy docspell to Kubernetes
44
home: https://docspell.org/
55
type: application
6-
version: 0.0.8
6+
version: 0.0.9
77
appVersion: "0.40.0"

charts/docspell/values.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ joex:
132132
# cpu: 100m
133133
# memory: 128Mi
134134
jvmOptions: []
135+
timeouts: {}
135136
config: |
136137
docspell.joex {
137138
app-id = ${HOSTNAME}
@@ -156,6 +157,20 @@ joex:
156157
}
157158
}
158159
160+
{{- if .Values.joex.timeouts }}
161+
extraction {
162+
ocr {
163+
{{- range $command, $timeout := .Values.joex.timeouts }}
164+
{{ $command }} {
165+
command {
166+
timeout = {{ $timeout | default "5 minutes" | quote }}
167+
}
168+
}
169+
{{- end }}
170+
}
171+
}
172+
{{- end }}
173+
159174
files {
160175
{{ tpl (.Values.files.config | default "" | indent 4) $ }}
161176
}

0 commit comments

Comments
 (0)