This commit is contained in:
2020-09-05 01:28:40 +08:00
parent 788bb2530c
commit 2b000a6ecf
-4
View File
@@ -194,10 +194,6 @@ class Connection extends Pool
if ($client instanceof PDO) {
return $this->saveClient($coroutineName, $client);
}
unset($client);
if ($this->hasCreate[$coroutineName] > $this->max) {
return $this->get($coroutineName)[1];
}
return $this->getByChannel($coroutineName, $config);
}