lib/Pagon/ChildProcess.php
protected function childSetTimeout($timeout)
    {
        $start_time = time();
        $self = $this;
        $this->on('tick', function () use ($timeout, $start_time, $self) {
            if ($start_time + $timeout < time()) $self->shutdown(1);
        });
    }
protected function childSetTimeout($timeout)
    {
        $start_time = time();
        $self = $this;
        $this->on('tick', function () use ($timeout, $start_time, $self) {
            if ($start_time + $timeout < time()) $self->shutdown(1);
        });
    }
protected function childSetTimeout ( $ timeout ) { $ start_time = time ( ) ; $ self = $ this ; $ this -> on ( 'tick' , function ( ) use ( $ timeout , $ start_time , $ self ) { if ( $ start_time + $ timeout < time ( ) ) $ self -> shutdown ( 1 ) ; } ) ; }
Try to set timeout

@param int $timeout
Try to set timeout