Skip to content

🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.

reduce max connections

Bill Yangcc4fa7950447
diff --git a/server/src/db/postgres/postgres.ts b/server/src/db/postgres/postgres.ts
index e51ad9a5a..72a8f76e8 100644
--- a/server/src/db/postgres/postgres.ts
+++ b/server/src/db/postgres/postgres.ts
@@ -13,7 +13,7 @@ const client = postgres({
username: process.env.POSTGRES_USER,
password: process.env.POSTGRES_PASSWORD,
onnotice: () => {},
- max: 50,
+ max: 20,
});
// Create drizzle ORM instance