fix abstract pool consts
This commit is contained in:
parent
15336ca7fc
commit
2f18fa41c4
@ -41,7 +41,7 @@ abstract class AbstractPool implements Pool
|
|||||||
private $pending = 0;
|
private $pending = 0;
|
||||||
|
|
||||||
/** @var int */
|
/** @var int */
|
||||||
private $idleTimeout = self::DEFAULT_IDLE_TIMEOUT;
|
private $idleTimeout = Pool::DEFAULT_IDLE_TIMEOUT;
|
||||||
|
|
||||||
/** @var string */
|
/** @var string */
|
||||||
private $timeoutWatcher;
|
private $timeoutWatcher;
|
||||||
@ -58,7 +58,7 @@ abstract class AbstractPool implements Pool
|
|||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
ConnectionConfig $config,
|
ConnectionConfig $config,
|
||||||
int $maxConnections = self::DEFAULT_MAX_CONNECTIONS,
|
int $maxConnections = Pool::DEFAULT_MAX_CONNECTIONS,
|
||||||
Connector $connector = null
|
Connector $connector = null
|
||||||
) {
|
) {
|
||||||
$this->connector = $connector ?? $this->createDefaultConnector();
|
$this->connector = $connector ?? $this->createDefaultConnector();
|
||||||
|
Loading…
Reference in New Issue
Block a user