File tree Expand file tree Collapse file tree
Sources/PostgresConnectionPool Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,16 +13,17 @@ public actor PostgresConnectionPool {
1313 private static let healthCheckInterval : TimeInterval = 5.0
1414 private static let idleConnectionsCheckInterval : TimeInterval = 60.0
1515
16- private let logger : Logger
1716 private let eventLoopGroup : EventLoopGroup
1817
19- private let postgresConfiguration : PostgresConnection . Configuration
20- private let connectionName : String
21- private let poolName : String
22- private let poolSize : Int
23- private let connectionRetryInterval : TimeInterval
24- private let maxIdleConnections : Int ?
25- private let queryTimeout : TimeInterval ?
18+ public let logger : Logger
19+ public let postgresConfiguration : PostgresConnection . Configuration
20+ public let connectionName : String
21+ public let poolName : String
22+ public let poolSize : Int
23+
24+ public let connectionRetryInterval : TimeInterval
25+ public let maxIdleConnections : Int ?
26+ public let queryTimeout : TimeInterval ?
2627
2728 private let onOpenConnection : ( ( PostgresConnection , Logger ) async throws -> Void ) ?
2829 private let onReturnConnection : ( ( PostgresConnection , Logger ) async throws -> Void ) ?
You can’t perform that action at this time.
0 commit comments