From b8052e7612387e3097b5cb6992f07f887e10a917 Mon Sep 17 00:00:00 2001 From: Hayden Faulds Date: Wed, 25 Oct 2017 13:56:38 +0100 Subject: [PATCH] allow settings.redis.project_history to be undefined --- services/document-updater/app/coffee/RedisManager.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/document-updater/app/coffee/RedisManager.coffee b/services/document-updater/app/coffee/RedisManager.coffee index 82125310b4..d2ab35a3ee 100644 --- a/services/document-updater/app/coffee/RedisManager.coffee +++ b/services/document-updater/app/coffee/RedisManager.coffee @@ -31,7 +31,7 @@ MAX_RANGES_SIZE = 3 * MEGABYTES keys = Settings.redis.documentupdater.key_schema historyKeys = Settings.redis.history.key_schema -projectHistoryKeys = Settings.redis.project_history.key_schema +projectHistoryKeys = Settings.redis?.project_history?.key_schema module.exports = RedisManager = rclient: rclient