File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Sources/PostgresConnectionPool Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -40,8 +40,7 @@ public struct PoolConfiguration {
4040 /// Timeout for opening new connections to the PostgreSQL database, in seconds (default: 5 seconds).
4141 public let connectTimeout : TimeInterval
4242
43- /// TImeout for individual database queries, in seconds (default: 10 seconds).
44- /// Can be disabled by setting to `nil`.
43+ /// TImeout for individual database queries, in seconds (default: none).
4544 public let queryTimeout : TimeInterval ?
4645
4746 /// The maximum number of open connections to the database (default: 10).
@@ -67,7 +66,7 @@ public struct PoolConfiguration {
6766 applicationName: String ,
6867 connection: Connection ,
6968 connectTimeout: TimeInterval = 5.0 ,
70- queryTimeout: TimeInterval ? = 10.0 ,
69+ queryTimeout: TimeInterval ? = nil ,
7170 poolSize: Int = 10 ,
7271 maxIdleConnections: Int ? = nil )
7372 {
You can’t perform that action at this time.
0 commit comments