Skip to content

Commit a73f850

Browse files
committed
Fix: redis task be removed immediately
1 parent 4e6d53c commit a73f850

File tree

5 files changed

+13
-3
lines changed

5 files changed

+13
-3
lines changed

charts/rtc-egress/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: rtc-egress
33
description: Agora RTC Egress Suite - Separated 5-service architecture for real-time video recording, flexible recording, file upload, and webhook notifications
44
type: application
5-
version: 1.3.9
6-
appVersion: "v1.2.16"
5+
version: 1.4.0
6+
appVersion: "v1.2.39"
77
home: https://github.com/AgoraIO/RTC-Egress
88
sources:
99
- https://github.com/AgoraIO/RTC-Egress

charts/rtc-egress/templates/configmap.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ data:
4242
password: ""
4343
db: 0
4444
{{- end }}
45-
task_ttl: 172800
45+
task_ttl: {{ .Values.redis.taskTtl | default 172800 }}
4646
worker_patterns:
4747
{{- if .Values.egress.redis.workerPatterns }}
4848
{{- range .Values.egress.redis.workerPatterns }}
@@ -181,10 +181,12 @@ data:
181181
password: ""
182182
{{- end }}
183183
db: {{ .Values.redis.external.database }}
184+
task_ttl: {{ .Values.redis.taskTtl | default 172800 }}
184185
{{- else }}
185186
addr: "localhost:6379"
186187
password: ""
187188
db: 0
189+
task_ttl: {{ .Values.redis.taskTtl | default 172800 }}
188190
{{- end }}
189191
190192
# Pod configuration
@@ -214,6 +216,7 @@ data:
214216
password: ""
215217
{{- end }}
216218
db: {{ .Values.redis.external.database }}
219+
task_ttl: {{ .Values.redis.taskTtl | default 172800 }}
217220
# Queue patterns this service should handle
218221
worker_patterns:
219222
{{- if .Values.flexibleRecorder.redis.workerPatterns }}
@@ -228,6 +231,7 @@ data:
228231
addr: "localhost:6379"
229232
password: ""
230233
db: 0
234+
task_ttl: {{ .Values.redis.taskTtl | default 172800 }}
231235
{{- end }}
232236
233237
# Web recorder configuration

charts/rtc-egress/values-monolithic.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ autoscaling:
8888
targetCPUUtilizationPercentage: 70
8989
targetMemoryUtilizationPercentage: 80
9090

91+
# Redis defaults for monolithic mode
92+
redis:
93+
taskTtl: 172800
94+
9195
# Pod configuration for monolithic mode
9296
pod:
9397
region: ""

charts/rtc-egress/values-production-separated.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ webhookNotifier:
156156

157157
# Production Redis Configuration
158158
redis:
159+
taskTtl: 172800
159160
external:
160161
enabled: true
161162
host: "redis-cluster.production.svc.cluster.local"

charts/rtc-egress/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@ webhookNotifier:
173173

174174
# Development Redis Configuration
175175
redis:
176+
taskTtl: 172800
176177
external:
177178
enabled: true
178179
host: "localhost"

0 commit comments

Comments
 (0)