Resque\Job::stopped PHP Method

stopped() protected method

Mark the current job stopped This is an internal function as the job is either completed, cancelled or failed
protected stopped ( )
    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'));
    }