Free, Open Source, Self-Hosted WhatsApp API Gateway
TypeScript apibotgatewayself-hostedwhatsappwhatsapp-apiwhatsapp-automationwhatsapp-botwhatsapp-gatewaywhatsapp-gateway-apiwhatsapp-webwhatsapp-web-api
fix(dashboard): describe what Redis is actually used for
Yudhi Armyndharisc56a78e25189
diff --git a/dashboard/src/i18n/locales.test.ts b/dashboard/src/i18n/locales.test.tsindex 43cf47d7c..794620da7 100644--- a/dashboard/src/i18n/locales.test.ts+++ b/dashboard/src/i18n/locales.test.ts@@ -424,3 +424,12 @@ test('English migrations status describes migrations, not schema synchronize', (assert.doesNotMatch(status, /synchroni[sz]/i, `status names synchronize: "${status}"`);assert.match(status, /migrations/i, `status lost the migrations wording: "${status}"`);});++// Session auth state lives on disk or in the database; Redis only backs the cache, the queues, the+// rate-limit counters and the multi-node WebSocket fan-out.+test('English Redis copy does not claim Redis stores sessions', () => {+ for (const key of ['infrastructure.redis.enableDesc', 'infrastructure.redis.disabledDesc']) {+ const copy = i18n.t(key, { lng: 'en' });+ assert.doesNotMatch(copy, /session/i, `${key} claims session storage: "${copy}"`);+ }+});diff --git a/dashboard/src/i18n/locales/en.json b/dashboard/src/i18n/locales/en.jsonindex 76faddf67..1242cdd76 100644--- a/dashboard/src/i18n/locales/en.json+++ b/dashboard/src/i18n/locales/en.json@@ -905,7 +905,7 @@"redis": {"title": "Redis","enable": "Enable Redis",- "enableDesc": "Required for caching, session storage, and BullMQ queues",+ "enableDesc": "Used for caching, BullMQ queues, rate-limit counters, and multi-node WebSocket fan-out","useBuiltIn": "Use Built-in Redis Container","builtInDesc": "OpenWA will manage a Redis container for you","queueTitle": "Enable BullMQ Queue System",@@ -917,7 +917,7 @@"failed": "Failed","viewBullMq": "View Bull MQ Dashboard","disabledTitle": "Redis is Disabled",- "disabledDesc": "Enable Redis for caching, session storage, and BullMQ message queues.",+ "disabledDesc": "Enable Redis for caching, BullMQ message queues, rate-limit counters, and multi-node WebSocket fan-out.","passwordOptional": "(optional)","bullMqUrlCopied": "Bull MQ dashboard URL copied","bullMqUrlHint": "Open it with an ADMIN API key — a browser tab can't authenticate."