fix redis config (#895)

* fix redis config when using redis on host machine without password auth
This commit is contained in:
Rainshaw 2021-06-15 18:51:25 +08:00 committed by GitHub
parent acf603993b
commit 35b414b624

View file

@ -54,7 +54,7 @@ settings =
web: redisConfig =
host: process.env["SHARELATEX_REDIS_HOST"] or "dockerhost"
port: process.env["SHARELATEX_REDIS_PORT"] or "6379"
password: process.env["SHARELATEX_REDIS_PASS"] or ""
password: process.env["SHARELATEX_REDIS_PASS"] or undefined
key_schema:
# document-updater
blockingKey: ({doc_id}) -> "Blocking:#{doc_id}"