DistributedServer::onWorkerStart PHP Method

onWorkerStart() public method

public onWorkerStart ( $serv, $worker_id )
    public function onWorkerStart($serv, $worker_id)
    {
        //swoole_timer_tick(1000,array(&$this , 'onTimer'));
    }