diff --git a/apps/sim/socket/database/operations.ts b/apps/sim/socket/database/operations.ts index aad62ef8b3d..60cfa177e6b 100644 --- a/apps/sim/socket/database/operations.ts +++ b/apps/sim/socket/database/operations.ts @@ -29,7 +29,7 @@ const socketDb = drizzle( prepare: false, idle_timeout: 10, connect_timeout: 20, - max: 15, + max: 10, onnotice: () => {}, }), { schema } diff --git a/packages/db/index.ts b/packages/db/index.ts index 186b076abaf..0cab65a38e3 100644 --- a/packages/db/index.ts +++ b/packages/db/index.ts @@ -14,7 +14,7 @@ const postgresClient = postgres(connectionString, { prepare: false, idle_timeout: 20, connect_timeout: 30, - max: 30, + max: 10, onnotice: () => {}, })