1
0
mirror of https://github.com/danog/postgres.git synced 2024-11-26 12:04:50 +01:00

Fix default Pool constructor parameters

This commit is contained in:
Aaron Piotrowski 2018-10-01 22:58:35 -05:00
parent 4e2ca37608
commit 964ec8759b
No known key found for this signature in database
GPG Key ID: ADD1EF783EDE9EEB

View File

@ -34,8 +34,8 @@ final class Pool extends AbstractPool implements Link
*/
public function __construct(
ConnectionConfig $config,
int $maxConnections = SqlPool::DEFAULT_MAX_CONNECTIONS,
int $idleTimeout = SqlPool::DEFAULT_IDLE_TIMEOUT,
int $maxConnections = self::DEFAULT_MAX_CONNECTIONS,
int $idleTimeout = self::DEFAULT_IDLE_TIMEOUT,
bool $resetConnections = true,
Connector $connector = null
) {