Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.4] Fix queue prefixed failed jobs #18985

Closed
wants to merge 1 commit into from
Closed

[5.4] Fix queue prefixed failed jobs #18985

wants to merge 1 commit into from

Conversation

laurencei
Copy link
Contributor

@laurencei laurencei commented Apr 28, 2017

Currently when a prefixed queue job fails - it will be written to the queue table with the prefixed name:

prefix-queue

The problem is if you php artisan queue:retry all on this job - it will be pushed back to the queue driver and re-prefixed again:

prefix-prefix-queue

The best solution I can see is to strip the driver based queue prefix prior to inserting into the failed queue table. That way, when you retry the job, it is handled as normal by your queue driver prefixing.

@taylorotwell
Copy link
Member

I'm reverting this whole thing for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants