From 61da130cf401ef9eb2fe892553b74a660298dec8 Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Wed, 22 Apr 2020 13:50:39 +0100 Subject: [PATCH] keep maxRetriesPerRequest for project_history redis config --- services/document-updater/config/settings.defaults.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/services/document-updater/config/settings.defaults.coffee b/services/document-updater/config/settings.defaults.coffee index 2fb398251a..1f1c951e1f 100755 --- a/services/document-updater/config/settings.defaults.coffee +++ b/services/document-updater/config/settings.defaults.coffee @@ -40,6 +40,7 @@ module.exports = port: process.env["NEW_HISTORY_REDIS_PORT"] or "6379" host: process.env["NEW_HISTORY_REDIS_HOST"] password: process.env["NEW_HISTORY_REDIS_PASSWORD"] or "" + maxRetriesPerRequest: parseInt(process.env['REDIS_MAX_RETRIES_PER_REQUEST'] or "20") key_schema: projectHistoryOps: ({project_id}) -> "ProjectHistory:Ops:{#{project_id}}" projectHistoryFirstOpTimestamp: ({project_id}) -> "ProjectHistory:FirstOpTimestamp:{#{project_id}}"