From 35b414b624180bab32f31d13ba3dfda32d4f4ad1 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 --- server-ce/settings.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server-ce/settings.coffee b/server-ce/settings.coffee index 475e7ca8f2..684bf18d53 100644 --- a/server-ce/settings.coffee +++ b/server-ce/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}"