Skip to content

Commit

Permalink
matomo: Make ConcurrentRequests configurable (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
mschmidt291 authored Jan 18, 2021
1 parent 02c78f1 commit b6d6e78
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion matomo/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: matomo
version: 1.1.0
version: 1.1.1
appVersion: 4.1.1

dependencies:
Expand Down
2 changes: 1 addition & 1 deletion matomo/templates/cronjob-archive.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
envFrom:
- secretRef:
name: {{ include "matomo.fullname" . }}-envs
args: ['su', 'www-data', '-s', '/bin/sh', '-c', '/usr/local/bin/php /var/www/html/console core:archive --url={{ include "matomo.fullname" . }}']
args: ['su', 'www-data', '-s', '/bin/sh', '-c', '/usr/local/bin/php /var/www/html/console core:archive --url={{ include "matomo.fullname" . }} --concurrent-requests-per-website={{ .Values.cronjobs.archive.concurrentRequests }}']
{{- with .Values.cronjobs.archive.resources }}
resources:
{{ toYaml . | indent 14 | trim}}
Expand Down
2 changes: 2 additions & 0 deletions matomo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ cronjobs:
# requests:
# cpu: 100m
# memory: 128Mi
# Specifys how many requests are made by the archive command (default 3)
concurrentRequests: 3

ipdb:
enabled: false
Expand Down

0 comments on commit b6d6e78

Please sign in to comment.