From 35477973cff6177e5d7a55c249569cb95a354268 Mon Sep 17 00:00:00 2001 From: Rainshaw Date: Tue, 15 Jun 2021 18:51:25 +0800 Subject: [PATCH] fix redis config (#895) * fix redis config when using redis on host machine without password auth --- settings.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.coffee b/settings.coffee index 475e7ca8f2..684bf18d53 100644 --- a/settings.coffee +++ b/settings.coffee @@ -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}"