The delay (in seconds, I guess?) for when to release the job back onto the queue.
From \Illuminate\Queue\InteractsWithQueue::release:
https://github.com/laravel/framework/blob/5.5/src/Illuminate/Queue/InteractsWithQueue.php#L51-L62
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello,
I'm using stripe webhook and a lot of time stripe send webhook in a short time difference (18-01-16 19:54:31 and 18-01-16 19:54:28). So sometime the newest webhook is executed by laravel horizon (redis) before the oldest. So my db is not sync with stripe.
I have to use funnel inside my job ? https://laravel.com/docs/5.5/queues#rate-limiting
Redis::funnel('key')->limit(1)->then(function () {
// Job logic...
}, function () {
// Could not obtain lock...
return $this->release(10);
});
What's for the number 10 inside release() ?
Please or to participate in this conversation.