fix: address cleanup review lifecycle and connection settings
This commit is contained in:
parent
512f2f1c32
commit
9d3e1a7bb9
11 changed files with 264 additions and 17 deletions
|
|
@ -20,6 +20,7 @@ export function registerCacheServices(
|
|||
host: config.redis.host,
|
||||
port: config.redis.port,
|
||||
password: config.redis.password,
|
||||
username: config.redis.username,
|
||||
db: config.redis.db, // This will be overridden by ServiceCache
|
||||
},
|
||||
{ logger }
|
||||
|
|
@ -37,6 +38,7 @@ export function registerCacheServices(
|
|||
host: config.redis.host,
|
||||
port: config.redis.port,
|
||||
password: config.redis.password,
|
||||
username: config.redis.username,
|
||||
},
|
||||
{ global: true, logger }
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue