Skip to content

The process "'/usr/bin/php8.4' 'artisan' invoke-serialized-closure" exceede d the timeout of 60 seconds in Concurrency::run() #55295

Answered by rodrigopedra
usmonaliyev99 asked this question in Q&A
Discussion options

You must be logged in to vote

The default Concurrency driver is the ProcessDriver, which will convert each task to be run as a Illuminate\Process\PendingProcess, and this has a default timeout of 60 seconds.

/**
* The maximum number of seconds the process may run.
*
* @var int|null
*/
public $timeout = 60;

You can either use the ForkDriver (needs the spatie/fork package to be installed, check the docs for how to use it), or write, and register, a custom driver which increases or removes that timeout.

The relevant code would be your WorkerJob, and from the snippet you posted there will always be …

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@usmonaliyev99
Comment options

Answer selected by usmonaliyev99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #55278 on April 06, 2025 13:24.