From 431a5d47cdba6a0dba9636ab44deb05e2762b5e4 Mon Sep 17 00:00:00 2001 From: naskya Date: Thu, 23 May 2024 21:39:28 +0900 Subject: [PATCH] fix (backend): use correct Redis prefix (close #10940) --- packages/backend/src/queue/initialize.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/queue/initialize.ts b/packages/backend/src/queue/initialize.ts index 32cc0005e9..ca18087226 100644 --- a/packages/backend/src/queue/initialize.ts +++ b/packages/backend/src/queue/initialize.ts @@ -12,7 +12,7 @@ export function initialize(name: string, limitPerSec = -1) { db: config.redis.db || 0, tls: config.redis.tls, }, - prefix: config.redis.prefix ? `${config.redis.prefix}:queue` : "queue", + prefix: `${config.redisKeyPrefix}:queue`, limiter: limitPerSec > 0 ? {