diff --git a/System/Pool/Connection.php b/System/Pool/Connection.php index b3bfe0b0..c5c70627 100644 --- a/System/Pool/Connection.php +++ b/System/Pool/Connection.php @@ -188,12 +188,13 @@ class Connection extends Pool { $this->info('client has :' . $this->size($coroutineName)); [$time, $client] = $this->get($coroutineName, -1); + + $this->info('client has create :' . ($this->hasCreate[$coroutineName] ?? 0)); if ($client instanceof PDO) { return $this->saveClient($coroutineName, $client); } unset($client); - $this->info('client has create :' . ($this->hasCreate[$coroutineName] ?? 0)); if (($this->hasCreate[$coroutineName] ?? 0) >= $this->max) { [$time, $client] = $this->get($coroutineName, -1);