mirror of
https://github.com/Cameri/nostream.git
synced 2025-03-17 13:21:45 +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 => {
|
||||
if (!instance) {
|
||||
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)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user