Laravel - Queues - Manually Releasing A Job

Sometimes you may wish to manually release a job back onto the queue so that it can be attempted again at a later time. You may accomplish this by calling the release method:

    
    /**
     * Execute the job.
     *
     * @return void
     */
    public function handle()
    {
        // ...
    
        $this->release();
    }
	

By default, the release method will release the job back onto the queue for immediate processing. However, by passing an integer to the release method you may instruct the queue to not make the job available for processing until a given number of seconds has elapsed:

    
    $this->release(10);