Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Set redis `options.family` to `0` (#210)

Brody Over81afcf96c704
diff --git a/apps/production/src/common/constants.ts b/apps/production/src/common/constants.ts
index f40571f02..2cb9718a6 100644
--- a/apps/production/src/common/constants.ts
+++ b/apps/production/src/common/constants.ts
@@ -16,6 +16,7 @@ const redis = new Redis(
{
password: process.env.REDIS_PASSWORD,
username: process.env.REDIS_USER,
+ family: 0,
},
)
diff --git a/apps/selfhosted/src/common/constants.ts b/apps/selfhosted/src/common/constants.ts
index f04d39783..aa8470201 100644
--- a/apps/selfhosted/src/common/constants.ts
+++ b/apps/selfhosted/src/common/constants.ts
@@ -15,6 +15,7 @@ const redis = new Redis(
{
password: process.env.REDIS_PASSWORD,
username: process.env.REDIS_USER,
+ family: 0,
},
)