This commit is contained in:
as2252258@163.com
2021-04-23 03:45:46 +08:00
parent 176d6256d7
commit 93ca2318bd
3 changed files with 1 additions and 38 deletions
-24
View File
@@ -157,30 +157,6 @@ abstract class Pool extends Component
}
/**
* @param $cds
* @param $coroutineName
* @param false $isBefore
* @throws Exception
*/
public function printClients($cds, $coroutineName, $isBefore = false)
{
$this->warning(($isBefore ? 'before ' : '') . 'create client[address: ' . $cds . ', ' . env('worker', 0) . ', coroutine: ' . Coroutine::getCid() . ', has num: ' . $this->size($coroutineName) . ']');
}
/**
* @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;