mirror of
https://github.com/danog/sql.git
synced 2024-11-26 20:15:08 +01:00
update abstract pool
This commit is contained in:
parent
bb0ea9d687
commit
f1f353039c
@ -28,15 +28,6 @@ abstract class AbstractPool implements Pool
|
||||
/** @var \SplObjectStorage */
|
||||
private $connections;
|
||||
|
||||
/** @var Promise|null */
|
||||
private $promise;
|
||||
|
||||
/** @var Deferred|null */
|
||||
private $deferred;
|
||||
|
||||
/** @var int Number of pending connections. */
|
||||
private $pending = 0;
|
||||
|
||||
/** @var bool */
|
||||
private $closed = false;
|
||||
|
||||
@ -52,6 +43,15 @@ abstract class AbstractPool implements Pool
|
||||
/** @var int */
|
||||
private $lastUsedAt;
|
||||
|
||||
/** @var Promise|null */
|
||||
protected $promise;
|
||||
|
||||
/** @var Deferred|null */
|
||||
protected $deferred;
|
||||
|
||||
/** @var int Number of pending connections. */
|
||||
protected $pending = 0;
|
||||
|
||||
/**
|
||||
* @param ConnectionConfig $config
|
||||
* @param int $maxConnections
|
||||
|
Loading…
Reference in New Issue
Block a user