From 3db7377d7409eecd86d11c0872aa8cc264f19ad8 Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Fri, 28 Sep 2018 15:11:17 +0100 Subject: [PATCH] add process.env["REDIS_PASSWORD"] --- services/document-updater/config/settings.defaults.coffee | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/services/document-updater/config/settings.defaults.coffee b/services/document-updater/config/settings.defaults.coffee index 18f2b1570b..840f482a16 100755 --- a/services/document-updater/config/settings.defaults.coffee +++ b/services/document-updater/config/settings.defaults.coffee @@ -23,7 +23,7 @@ module.exports = realtime: port: "6379" host: process.env["REDIS_HOST"] or "localhost" - password:"" + password: process.env["REDIS_PASSWORD"] key_schema: pendingUpdates: ({doc_id}) -> "PendingUpdates:#{doc_id}" # cluster: [{ @@ -35,7 +35,7 @@ module.exports = documentupdater: port: "6379" host: process.env["REDIS_HOST"] or "localhost" - password: "" + password: process.env["REDIS_PASSWORD"] key_schema: blockingKey: ({doc_id}) -> "Blocking:#{doc_id}" docLines: ({doc_id}) -> "doclines:#{doc_id}" @@ -66,7 +66,7 @@ module.exports = history: port: "6379" host: process.env["REDIS_HOST"] or "localhost" - password:"" + password: process.env["REDIS_PASSWORD"] key_schema: uncompressedHistoryOps: ({doc_id}) -> "UncompressedHistoryOps:#{doc_id}" docsWithHistoryOps: ({project_id}) -> "DocsWithHistoryOps:#{project_id}" @@ -84,7 +84,7 @@ module.exports = lock: port: "6379" host: process.env["REDIS_HOST"] or "localhost" - password:"" + password: process.env["REDIS_PASSWORD"] key_schema: blockingKey: ({doc_id}) -> "Blocking:#{doc_id}" # cluster: [{