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 4a8f88c4a8
commit 35477973cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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}"