fix: add lazyConnect to Redis client to prevent build-time connection errors

This commit is contained in:
Thomas Camlong committed 2026-05-22 09:31:29 +02:00
1 parent 5e5492818a
commit 8203ca0c63
1 file changed
+1
@@ -5,6 +5,7 @@ import { redisEnv } from "./env";
const defaultRedisOptions = {
connectionName: "homarr",
lazyConnect: true,
} satisfies RedisOptions;
export type { Redis as RedisClient } from "ioredis";