Skip to content

Commit

Permalink
helm: add env variable for session inactivity to server
Browse files Browse the repository at this point in the history
Adds an env variable that contains the maximum number of days for which
an interactive session can stay inactive before being automatically
closed.

Closes reanahub/reana-client#657
  • Loading branch information
giuseppe-steduto authored and mdonadoni committed Jul 12, 2023
1 parent e59f81d commit 6f86e14
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions helm/reana/templates/reana-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ spec:
{{- end }}
- name: REANA_KUBERNETES_JOBS_MAX_USER_TIMEOUT_LIMIT
value: !!str {{ .Values.kubernetes_jobs_max_user_timeout_limit | default 1209600 }} # 1209600 seconds = 14 days
- name: REANA_INTERACTIVE_SESSION_MAX_INACTIVITY_PERIOD
value: {{ .Values.interactive_sessions.maximum_inactivity_period | default "forever" | quote }}
- name: REANA_KUBERNETES_JOBS_TIMEOUT_LIMIT
value: !!str {{ .Values.kubernetes_jobs_timeout_limit | default 604800 }} # 604800 seconds = 7 days
- name: REANA_KUBERNETES_JOBS_MEMORY_LIMIT
Expand Down

0 comments on commit 6f86e14

Please sign in to comment.