From e368c50687762e70da0446a37ca9aa328639bc58 Mon Sep 17 00:00:00 2001 From: Wyatt Johnson Date: Fri, 1 Sep 2017 08:44:25 -0600 Subject: [PATCH 1/2] ioredis changed config, fixes #901 --- services/redis.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/redis.js b/services/redis.js index 027d5bc20..59ab3eef8 100644 --- a/services/redis.js +++ b/services/redis.js @@ -65,7 +65,7 @@ const connectionOptions = { }; const createClient = () => { - let client = new Redis(connectionOptions); + let client = new Redis(REDIS_URL, connectionOptions); // Attach the monitors that will print debug messages to the console. attachMonitors(client); From 644788ea319ddb0edd8a741cb1f05ff40d2bd474 Mon Sep 17 00:00:00 2001 From: Wyatt Johnson Date: Fri, 1 Sep 2017 08:47:08 -0600 Subject: [PATCH 2/2] removed unused option --- services/redis.js | 1 - 1 file changed, 1 deletion(-) diff --git a/services/redis.js b/services/redis.js index 59ab3eef8..5fd1b78d3 100644 --- a/services/redis.js +++ b/services/redis.js @@ -30,7 +30,6 @@ const attachMonitors = (client) => { }; const connectionOptions = { - url: REDIS_URL, retry_strategy: function(options) { if (options.error && options.error.code !== 'ECONNREFUSED') {