craft-async-queue icon indicating copy to clipboard operation
craft-async-queue copied to clipboard

Delayed job causes queue to stall

Open iamkeir opened this issue 1 year ago • 0 comments

Not 100% sure the cause but it seems that if a job goes into the queue as "delayed", it seems to stall the queue from running and no jobs process.

For example, on order complete, as well as the job for sending an order email, we have a plugin, Klaviyo Connect, that pushes a job to the queue. However, this job goes in as delayed initially, then switches to pending, but the queue does not process any of the jobs.

If I then disable the Klaviyo Connect plugin, and make another order, the email job (and any others) process fine.

I don't believe it is the Klaviyo Connect plugin issue, but rather something linked to a delayed job - as when using the Craft queue, all jobs process correctly, including Klaviyo Connect.

Any thoughts?

screenshot_328 screenshot_329

iamkeir avatar Jul 13 '22 17:07 iamkeir