-
Notifications
You must be signed in to change notification settings - Fork 24.4k
[5.8] Prefix redis database connection by default #4982
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
Conversation
…s on the same server potentially sharing the same queued jobs
Thanks. |
I just tried this and looked at the results in Redis. There might be a couple issues.
Should the prefix be appended with an underscore? |
Interesting @fitztrev, @DivineOmega what do you think? |
…s on the same server potentially sharing the same queued jobs laravel/laravel#4982
@fitztrev @ludo237 @gerardnll I agree with adding an additional underscore to the prefix. I'll tweak this. |
@fitztrev @ludo237 @gerardnll I've opened a PR for this here: #4986 |
This PR prefixes the
redis
database connection by default to mitigate multiple sites on the same server potentially sharing the same queued jobs. It uses similar logic to that which is used for creating the cache prefix.