public function restart()
    {
        $count = count($this->processes);

        $this->scale(0);

        $this->scale($count);
    }
public function restart()
    {
        $count = count($this->processes);

        $this->scale(0);

        $this->scale($count);
    }
public function restart ( ) { $ count = count ( $ this -> processes ) ; $ this -> scale ( 0 ) ; $ this -> scale ( $ count ) ; }
Terminate all current workers and start fresh ones.

@return void
Terminate all current workers and start fresh ones .