From 6755feb8620f72547d21046dd488f178bf992fae Mon Sep 17 00:00:00 2001 From: unkin-agent Date: Sat, 12 Sep 2026 11:02:57 +1000 Subject: [PATCH] feat(helm): expose the transcode session retention window The chart sets the lease duration but not the retention window that keeps an orphaned session record available for takeover. - add ha.transcodeStore.sessionRetentionSeconds and pass it to the statefulset --- deploy/helm/jellyfin-ha/templates/statefulset.yaml | 2 ++ deploy/helm/jellyfin-ha/values.yaml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/deploy/helm/jellyfin-ha/templates/statefulset.yaml b/deploy/helm/jellyfin-ha/templates/statefulset.yaml index 866ad4b08d..b2e9ada827 100644 --- a/deploy/helm/jellyfin-ha/templates/statefulset.yaml +++ b/deploy/helm/jellyfin-ha/templates/statefulset.yaml @@ -168,6 +168,8 @@ spec: {{- end }} - name: Jellyfin__TranscodeStore__LeaseDurationSeconds value: {{ .Values.ha.transcodeStore.leaseDurationSeconds | quote }} + - name: Jellyfin__TranscodeStore__SessionRetentionSeconds + value: {{ .Values.ha.transcodeStore.sessionRetentionSeconds | quote }} {{- end }} # --------------------------------------------------------------------------- diff --git a/deploy/helm/jellyfin-ha/values.yaml b/deploy/helm/jellyfin-ha/values.yaml index 5e933f9d5b..9d6d6385e2 100644 --- a/deploy/helm/jellyfin-ha/values.yaml +++ b/deploy/helm/jellyfin-ha/values.yaml @@ -45,6 +45,9 @@ ha: # -- How long (seconds) a pod's transcode lease is valid before another pod may take over. leaseDurationSeconds: 30 + # -- How long (seconds) an unrenewed session record is kept so another pod can still take it over. + sessionRetentionSeconds: 300 + # -- Secret containing the Redis connection string. # If set, the connection string is read from this secret instead of the value above. # The secret must have a key named by existingSecret.key.