This commit is contained in:
as2252258@163.com
2021-02-28 17:15:46 +08:00
parent aa30c27862
commit 2fbf16e4c2
+1 -1
View File
@@ -108,7 +108,7 @@ class OnWorkerStart extends Callback
* @return string * @return string
* @throws ConfigException * @throws ConfigException
*/ */
private function set_process_name($socket, $worker_id): string private function set_process_name($socket, $worker_id): mixed
{ {
$prefix = Config::get('id', false, 'system'); $prefix = Config::get('id', false, 'system');
if ($worker_id >= $socket->setting['worker_num']) { if ($worker_id >= $socket->setting['worker_num']) {