This commit is contained in:
as2252258@163.com
2021-04-23 03:41:12 +08:00
parent 1edd8c5429
commit 176d6256d7
3 changed files with 40 additions and 18 deletions
+12
View File
@@ -169,6 +169,18 @@ abstract class Pool extends Component
}
/**
* @param $cds
* @param $coroutineName
* @param false $isBefore
* @throws Exception
*/
public function releaseClients($cds, $coroutineName)
{
$this->warning('release client[address: ' . $cds . ', ' . env('worker', 0) . ', coroutine: ' . Coroutine::getCid() . ', has num: ' . $this->size($coroutineName) . ']');
}
abstract public function createClient(string $name, mixed $config): mixed;