romanzipp / Laravel-Queue-Monitor

Monitoring Laravel Jobs with your Database
https://packagist.org/packages/romanzipp/laravel-queue-monitor
MIT License
696 stars 92 forks source link

Having issue with Job Retry #45

Closed aqibj12 closed 3 years ago

aqibj12 commented 3 years ago

Hi I am using this package with my laravel 6. But having issue on Job retry I specified public $tries = 0; in my job but yet my job is retrying again and again. Can you please help me at this.

romanzipp commented 3 years ago

It looks like this isn't really a package issue but rather misconfiguration. I believe $tries = 0 tells Laravel to always restart the job. Try setting the value to 1 as the documentation states