Skip to content

Commit c6e84e4

Browse files
committed
limit to 1 connection
1 parent dd15ba5 commit c6e84e4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

clients/sql.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ export async function newOrcaSqlClient() {
1414
user: orcaSqlUser(),
1515
password: orcaSqlPass(),
1616
database: orcaSqlDatabase(),
17-
max: 500,
17+
max: 1,
18+
min: 0,
19+
idleTimeoutMillis: 30000,
1820
});
1921

2022
const client = await pool.connect();

0 commit comments

Comments
 (0)