mirror of
https://github.com/Cameri/nostream.git
synced 2025-03-17 21:31:48 +01:00
chore: dont log redis pw
This commit is contained in:
parent
039015bafb
commit
830a782db3
4
src/cache/client.ts
vendored
4
src/cache/client.ts
vendored
@ -15,7 +15,9 @@ let instance: CacheClient | undefined = undefined
|
|||||||
export const getCacheClient = (): CacheClient => {
|
export const getCacheClient = (): CacheClient => {
|
||||||
if (!instance) {
|
if (!instance) {
|
||||||
const config = getCacheConfig()
|
const config = getCacheConfig()
|
||||||
debug('config: %o', config)
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||||
|
const { password: _, ...loggableConfig } = config
|
||||||
|
debug('config: %o', loggableConfig)
|
||||||
instance = createClient(config)
|
instance = createClient(config)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user