"Maximum execution time of 30 seconds exceeded" in a job
Hey there
I'm running a job that will be queued at production, however during the development i'm running it with the SYNC driver.
at the past before i changed some minor code at thejob it used to ran for an hour if needed without any issues.
now when i'm running it i'm getting the following message:
Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_UNKNOWN)
Maximum execution time of 30 seconds exceeded
The thing is, that the job runs for about 25 minutes before i get this message which means its not reallly the 30 seconds execution that is the problem.
can't find the issue at all.
anyone got any ideas for me?
Yamen: tried that, doesn't work. also, i think that t he default is 0.
Helmchen: no can't do :( the job is making tons of requests to external API and receives tens of thousand of texts and analyzes them from different aspects.
no can't do :( the job is making tons of requests to external API and receives tens of thousand of texts and analyzes them from different aspects.
save an offset and let every Task do only 100 or 1000 .. throw 100 tasks on the queue and spawn as many workers as you need, that's why you actually use a queue and no deamon process
I probably didn't explained it very well but it is required to be one job, as its one report that i'm generating. the queue is there for long and "heavy" processes.
also, i've set the
public $timeout = 0;
but still, same
Symfony \ Component \ Debug \ Exception \ FatalErrorException (E_UNKNOWN)
Maximum execution time of 30 seconds exceeded