This commit is contained in:
as2252258@163.com
2021-02-27 04:16:54 +08:00
parent 994c0aa6f1
commit f9d0307ecf
-1
View File
@@ -43,7 +43,6 @@ class OnWorkerStart extends Callback
}
$this->debug(sprintf('Worker #%d is start.....', $worker_id));
putenv('workerId=' . ($worker_id >= $server->setting['worker_num'] ? 'Task' : 'Worker') . '.' . $worker_id);
if ($worker_id >= $server->setting['worker_num']) {
fire(Event::SERVER_TASK_START);