This commit is contained in:
2021-02-17 00:51:21 +08:00
parent b308f13e59
commit f5650762ba
4 changed files with 75 additions and 60 deletions
+2 -2
View File
@@ -18,6 +18,8 @@ use Swoole\Timer;
class Connection extends Pool
{
use Timeout;
public array $hasCreate = [];
public int $timeout = 1900;
@@ -25,8 +27,6 @@ class Connection extends Pool
/** @var PDO[] */
protected array $connections = [];
public int $creates = 0;
/**
* @param $timeout