This commit is contained in:
2020-09-04 19:21:43 +08:00
parent 4b014193c9
commit 4727c77232
+2 -1
View File
@@ -200,7 +200,8 @@ class Connection extends Pool
return $client;
}
if ($this->hasItem($coroutineName) < 1) {
if ($this->size($coroutineName) < 1) {
return $this->saveClient($coroutineName, $this->nowClient($coroutineName, $config));
}
return $this->getByChannel($coroutineName, $config);