Added a connection pool timeout to the Configuration type in the Persistence package.
This commit is contained in:
@@ -77,7 +77,8 @@ public struct Service: Sendable {
|
||||
database: configuration.name,
|
||||
tls: tls
|
||||
),
|
||||
maxConnectionsPerEventLoop: configuration.maxConnectionsPerEventLoop
|
||||
maxConnectionsPerEventLoop: configuration.maxConnectionsPerEventLoop,
|
||||
connectionPoolTimeout: .init(configuration.poolTimeout)
|
||||
),
|
||||
as: .psql,
|
||||
isDefault: true
|
||||
|
||||
Reference in New Issue
Block a user