File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ type PostgresConfig =
8
8
database: string }
9
9
10
10
type PoolingConfig =
11
- { minSize : int option
12
- maxSize : int option
11
+ { minPoolSize : int option
12
+ maxPoolSize : int option
13
13
connectionIdleLifeTime: int option
14
14
connectionPruningInterval: int option }
15
15
@@ -24,10 +24,10 @@ module Postgres =
24
24
config.database
25
25
26
26
let private poolingSettings ( pooling : PoolingConfig ): string =
27
- let minSize = pooling.minSize |> Option.defaultValue 0
27
+ let minSize = pooling.minPoolSize |> Option.defaultValue 0
28
28
29
29
let maxSize =
30
- pooling.maxSize |> Option.defaultValue 100
30
+ pooling.maxPoolSize |> Option.defaultValue 100
31
31
32
32
let connectionPruningInterval =
33
33
pooling.connectionPruningInterval
You can’t perform that action at this time.
0 commit comments