How to disable import action job retries?
I'm relatively new to handling jobs and queues in Laravel. Despite my efforts, the jobs related to the import action repeatedly fail and continue retrying. I attempted to limit retries by using
--tries=1
on the worker, but this didn't change the outcome. Additionally, I modified the default job class as follows:
Added ->job(ImportTasksJob::class)
. However, this modification also had no impact.
In the beforeFill
method:
The issue persists where the job endlessly retries in the event of an error.1 Reply
This is what I ended up doing but I'm not sure if this is the best approach:
Ultimately, there should be a way to update the error message in the "Download information about the failed row" CSV file.