woop
This commit is contained in:
parent
b919006502
commit
f27bc326d4
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ initializeLogLevel(process.env, environment);
|
|||
*/
|
||||
const createRedisClient = async (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
|
||||
let client;
|
||||
|
|
Loading…
Reference in a new issue