fix (backend): use correct Redis prefix (close #10940)

This commit is contained in:
naskya 2024-05-23 21:39:28 +09:00
parent 898927ce78
commit 431a5d47cd
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C

View file

@ -12,7 +12,7 @@ export function initialize<T>(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
? {