|
|
@ -61,7 +61,7 @@ initializeLogLevel(process.env, environment);
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
const createRedisClient = async (config) => {
|
|
|
|
const createRedisClient = async (config) => {
|
|
|
|
const { redisParams, redisUrl } = config;
|
|
|
|
const { redisParams, redisUrl } = config;
|
|
|
|
const parsed = url.parse(redisUrl);
|
|
|
|
const parsed = redisUrl ? url.parse(redisUrl) : undefined;
|
|
|
|
|
|
|
|
|
|
|
|
// so apparently ioredis doesn't handle relative paths
|
|
|
|
// so apparently ioredis doesn't handle relative paths
|
|
|
|
let client;
|
|
|
|
let client;
|
|
|
|