Skip to content

Commit 17c7cf0

Browse files
committed
feat: provide min, max defaults
1 parent 6382e4c commit 17c7cf0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bridge.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ export const bridge = (postgres: typeof Postgres, poolConfiguration: PgPool) =>
7575
});
7676
},
7777
}, {
78-
max: poolConfiguration.max,
79-
min: poolConfiguration.min,
78+
max: poolConfiguration.max ?? 10,
79+
min: poolConfiguration.min ?? 0,
8080
});
8181

8282
const compatiblePool = {

0 commit comments

Comments
 (0)