fix (backend): use correct cache key prefix

This commit is contained in:
naskya 2024-07-22 05:05:49 +09:00
parent 357ee6e656
commit 093ce6b5ec
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C

View file

@ -209,7 +209,7 @@ export const db = new DataSource({
family: config.redis.family == null ? 0 : config.redis.family,
username: config.redis.user ?? "default",
password: config.redis.pass,
keyPrefix: `${config.redis.prefix}:query:`,
keyPrefix: `${config.redisKeyPrefix}:query:`,
db: config.redis.db || 0,
tls: config.redis.tls,
},