Skip to content

Queue worker idles if first record has 255 attempts #58941

@bilogic

Description

@bilogic

Laravel Version

12.52.0

PHP Version

8.4.17

Database Driver & Version

8.0.37

Description

I have 11 records in the jobs table, but running the queue worker, it sits there idling, as though there are no jobs to process.

Steps To Reproduce

  1. Stop the queue workers
  2. Create some jobs (3-4 will be good) to add some records to jobs table
  3. Modify the first record's attempts to 255
  4. Run php artisan queue:work, worker starts and does nothing

Expected behavior

  1. I expected the queue worker to terminate with some error instead of idling
  2. Because it idles, there are no signs of problems and jobs accumulate in the jobs table and none of them gets processed until someone realizes things are not happening

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions