protected function stopped()
    {
        $this->redis->zrem(Queue::redisKey($this->queue, 'running'), $this->payload);

        Stats::decr('running', 1);
        Stats::decr('running', 1, Queue::redisKey($this->queue, 'stats'));
    }
protected function stopped()
    {
        $this->redis->zrem(Queue::redisKey($this->queue, 'running'), $this->payload);

        Stats::decr('running', 1);
        Stats::decr('running', 1, Queue::redisKey($this->queue, 'stats'));
    }
protected function stopped ( ) { $ this -> redis -> zrem ( Queue :: redisKey ( $ this -> queue , 'running' ) , $ this -> payload ) ; Stats :: decr ( 'running' , 1 ) ; Stats :: decr ( 'running' , 1 , Queue :: redisKey ( $ this -> queue , 'stats' ) ) ; }
Mark the current job stopped
This is an internal function as the job is either completed, cancelled or failed
Mark the current job stopped This is an internal function as the job is either completed cancelled or failed