mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-01 05:11:34 +02:00
Merge pull request #23837 from overleaf/bg-redis-redact-config
sanitise password in redis config output GitOrigin-RevId: 45d8bd13f01c3c4f138549c8a9f47dc0db29d0b0
This commit is contained in:
@@ -3,7 +3,10 @@ import config from 'config'
|
||||
|
||||
const redisOptions = config.get('redis.queue')
|
||||
|
||||
console.log('REDIS CONFIG', redisOptions)
|
||||
console.log('REDIS CONFIG', {
|
||||
...redisOptions,
|
||||
password: '*'.repeat(redisOptions.password.length),
|
||||
})
|
||||
const rclient = redis.createClient(redisOptions)
|
||||
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user