Exemplo n.º 1
0
 public function onWorkerStart(SwooleServer $server, $workerId)
 {
     parent::onWorkerStart($server, $workerId);
     $this->setWorkerStarted();
     Log::debug(posix_getpid() . ' onWorkerStart ' . $this->swoolePort);
 }