Example #1
0
 /**
  * Release the job back into the queue.
  *
  * @param  int   $delay
  * @return void
  */
 public function release($delay = 0)
 {
     parent::release($delay);
     $this->delete();
     $this->redis->release($this->queue, $this->job, $delay, $this->attempts() + 1);
 }