Skip to content
Snippets Groups Projects
Commit 66165b19 authored by MeiMei's avatar MeiMei Committed by syuilo
Browse files

Redis prefixにホスト名を使用するように (Resolve #5639) (#5640)

parent e9360ac8
No related branches found
No related tags found
No related merge requests found
......@@ -43,6 +43,8 @@ export default function load() {
if (config.autoAdmin == null) config.autoAdmin = false;
if (!config.redis.prefix) config.redis.prefix = mixin.host;
return Object.assign(config, mixin);
}
......
......@@ -155,7 +155,7 @@ export function initDb(justBorrow = false, sync = false, log = false) {
host: config.redis.host,
port: config.redis.port,
password: config.redis.pass,
prefix: config.redis.prefix,
prefix: `${config.redis.prefix}:query:`,
db: config.redis.db || 0
}
} : false,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment