github vapor/fluent-postgres-driver 2.1.0
Support connection pool timeout configuration

latest releases: 2.12.0, 2.11.0, 2.10.1...
6 years ago
This patch was authored by @mattpolzin and released by @tanner0101.

Allows for configuration of connection pool timeouts (#161).

The connection pool timeout defines the maximum amount of time allowed for requesting a connection from the pool. This helps to prevent deadlock.

try app.databases.use(.postgres(
    configuration: ...,
    connectionPoolTimeout: .minutes(1)
), as: .psql)

The default timeout is 10 seconds.

Don't miss a new fluent-postgres-driver release

NewReleases is sending notifications on new releases.