改名
This commit is contained in:
@@ -68,9 +68,10 @@ class ServerManager
|
||||
*/
|
||||
protected static function createProcess($process, $application, $pool, $workerId)
|
||||
{
|
||||
$application->set($pool->getProcess($workerId));
|
||||
$process = new $process($application);
|
||||
$application->debug(sprintf('Worker #%d is running.', $workerId));
|
||||
return $process->start($pool->getProcess($workerId));
|
||||
return $process->start();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user