fix (backend): use correct Redis prefix (close #10940)
This commit is contained in:
parent
898927ce78
commit
431a5d47cd
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ export function initialize<T>(name: string, limitPerSec = -1) {
|
||||||
db: config.redis.db || 0,
|
db: config.redis.db || 0,
|
||||||
tls: config.redis.tls,
|
tls: config.redis.tls,
|
||||||
},
|
},
|
||||||
prefix: config.redis.prefix ? `${config.redis.prefix}:queue` : "queue",
|
prefix: `${config.redisKeyPrefix}:queue`,
|
||||||
limiter:
|
limiter:
|
||||||
limitPerSec > 0
|
limitPerSec > 0
|
||||||
? {
|
? {
|
||||||
|
|
Loading…
Reference in a new issue