src/Viper/Daemon/Router.php
public function restart(int $sleep) : void
    {
        $this -> storage['sentenced'] = 'rewind';
        $this -> storage['sleep'] = $sleep;
        $this -> store($this -> storage);
    }
public function restart(int $sleep) : void
    {
        $this -> storage['sentenced'] = 'rewind';
        $this -> storage['sleep'] = $sleep;
        $this -> store($this -> storage);
    }
public function restart ( int $ sleep ) : void { $ this -> storage [ 'sentenced' ] = 'rewind' ; $ this -> storage [ 'sleep' ] = $ sleep ; $ this -> store ( $ this -> storage ) ; }
Gently stops daemon and starts it with new frequency
@param int $sleep
Gently stops daemon and starts it with new frequency