We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edbef0b commit 9e85d48Copy full SHA for 9e85d48
packages/db/src/index.ts
@@ -13,6 +13,7 @@ let pool;
13
14
const createPool = () => {
15
return postgres(process.env.DATABASE_URL!, {
16
+ max: 3,
17
prepare: false,
18
idle_timeout: 10000, // 10 seconds
19
connect_timeout: 1000, // 1 seconds
0 commit comments