-
Notifications
You must be signed in to change notification settings - Fork 11.1k
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] Queue prefix added twice with beanstalk #18978
Comments
I cant replicate? I get Can you post your full queue config? |
config/queue.php
in my .env file I set this:
|
well - that is sync and not beanstalkd? |
@laurencei typo... |
ok - well I've got something similar and I dont see that. however I think I found another bug relating to queue prefixes and "default" connections - so I'm looking into it now. It might be related - dunno... |
@laurencei can you share some info on the possible "bug"? |
I'm able to replicate a I'm looking into it now and will do a PR - give me 30mins... I'll check if affects other drivers once I worked out the exact source... nearly there... |
@it-can - I'm about to submit a PR. I'm fairly sure it relates to your issue, because the worker will duplicate prefixes. My guess is when Beanstalkd is trying to access a non-existent queue it probably creates it first. |
Nice sounds like it... |
@it-can - can you please test against the master branch. Taylor just merged my PR. You might need to "flush" your beanstalkd tubes to remove the old double-prefixed from showing - then try again? |
Thank you @laurencei for the fix, I guess you meant to test against the 5.4 branch not |
Yeah - sorry - I meant the latest dev version of the 5.4 branch (since the fix is not yet tagged I dont think?) |
This fix works for my case 👍 Thanks |
Description:
In Laravel 5.4.20 there is a queue prefix added (#18860). But when I started adding a prefix it seems to be added twice in my beanstalk tube. I did not check of this happens with other queue drivers... I tested this with multiple laravel apps on multiple servers... The queue works fine without a prefix, but does not work when using a prefix...
without prefix:
with prefix "server1"
Steps To Reproduce:
Add queue prefix and list your beanstalk tubes
The text was updated successfully, but these errors were encountered: