Improve redis config
This commit is contained in:
parent
948a133b7b
commit
5a0a297634
3 changed files with 8 additions and 3 deletions
|
@ -5,6 +5,8 @@ export default config.redis ? redis.createClient(
|
|||
config.redis.port,
|
||||
config.redis.host,
|
||||
{
|
||||
auth_pass: config.redis.pass
|
||||
auth_pass: config.redis.pass,
|
||||
prefix: config.redis.prefix,
|
||||
db: config.redis.db || 0
|
||||
}
|
||||
) : null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue