[5.3] [Queue] queue:listen default value maxTries=0 let every job fail with a MaxAttemptsExceededException #15370
Closed
Description
- Laravel Version: 5.3.7
- PHP Version: 7.0.4
- Database Driver & Version: MySQL 5.5.39
Description:
When I run queue:listen
it spawns new child processes like this by default:
artisan queue:work --once --queue=default --delay=0 --memory=128 --sleep=3 --tries=0 --env=production
This causes a MaxAttemptsExceededException
for every single job and make it fail instantly without a single try. If I set maxTries
to something larger than 0 the job are correctly processed.
Metadata
Assignees
Labels
No labels