Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Add RabbitMQ Queue TTL #56

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions funcx/templates/forwarder-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ spec:
{{- else }}
value: "{{ .Values.services.rabbitmq.externalURI }}"
{{- end }}
- name: RABBITMQ_QUEUE_TTL
value: "{{ .Values.services.rabbitmq.queueTTL }}"
{{- if not .Values.forwarder.useAWSMetadataServer }}
- name: ADVERTISED_FORWARDER_ADDRESS
valueFrom:
Expand Down
2 changes: 2 additions & 0 deletions funcx/templates/websocket-service-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ spec:
{{- else }}
value: "{{ .Values.services.rabbitmq.externalURI }}"
{{- end }}
- name: RABBITMQ_QUEUE_TTL
value: "{{ .Values.services.rabbitmq.queueTTL }}"
- name: WEB_SERVICE_URI
value: "http://{{ .Release.Name }}-funcx-web-service:8000"

Expand Down
2 changes: 2 additions & 0 deletions funcx/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ services:
rabbitmq:
enabled: true
externalHost: rabbitmq
# TTL in seconds
queueTTL: 604800

postgresql:
postgresqlUsername: funcx
Expand Down