fix(db): reduce connection pool sizes to prevent exhaustion (#3649)

This commit is contained in:
Waleed
2026-03-18 02:20:55 -07:00
committed by GitHub
parent 28de28899a
commit b84f30e9e7
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ const socketDb = drizzle(
prepare: false,
idle_timeout: 10,
connect_timeout: 20,
max: 15,
max: 10,
onnotice: () => {},
}),
{ schema }

View File

@@ -14,7 +14,7 @@ const postgresClient = postgres(connectionString, {
prepare: false,
idle_timeout: 20,
connect_timeout: 30,
max: 30,
max: 10,
onnotice: () => {},
})