diff --git a/apps/sim/socket/database/operations.ts b/apps/sim/socket/database/operations.ts index 3e8eeeb99bb..93c117ea1dd 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: 10, + max: 30, onnotice: () => {}, }), { schema } diff --git a/packages/db/index.ts b/packages/db/index.ts index 0cab65a38e3..186b076abaf 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: 10, + max: 30, onnotice: () => {}, })