This commit is contained in:
Skye 2024-02-03 15:13:58 +09:00
parent b919006502
commit f27bc326d4
Signed by: me
GPG key ID: 0104BC05F41B77B8

View file

@ -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;