Skip to content

Commit d927d8b

Browse files
fix(db): raise db pool size (#4263)
* fix(db): raise db pool size * Raise socket connections * bump up connection size even more
1 parent 0aeab02 commit d927d8b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/sim/socket/database/operations.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const socketDb = drizzle(
2929
prepare: false,
3030
idle_timeout: 10,
3131
connect_timeout: 20,
32-
max: 10,
32+
max: 30,
3333
onnotice: () => {},
3434
}),
3535
{ schema }

packages/db/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const postgresClient = postgres(connectionString, {
1414
prepare: false,
1515
idle_timeout: 20,
1616
connect_timeout: 30,
17-
max: 10,
17+
max: 30,
1818
onnotice: () => {},
1919
})
2020

0 commit comments

Comments
 (0)