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

[4.0] Changed default Redis prefix #643

Merged
merged 1 commit into from
Aug 6, 2019
Merged

[4.0] Changed default Redis prefix #643

merged 1 commit into from
Aug 6, 2019

Conversation

itorgov
Copy link
Contributor

@itorgov itorgov commented Aug 5, 2019

When you are running multiple installations of Horizon on the same server you have to change HORIZON_PREFIX environment variable to unique value for every installation.
Sometimes I was forgetting to change HORIZON_PREFIX when I ran multiple installations of Horizon on the same server. And I found that many people have had this problem too.
So I provide more flexible default Redis prefix based on APP_NAME variable (inspired by default session prefix in Laravel).
I talked with @driesvints and he suggested that this improvement can affect existing projects. I agree with him and I think that it will be better to add this improvement in a next major release (like 4.0.0).

@driesvints driesvints changed the title Changed default Redis prefix [4.0] Changed default Redis prefix Aug 6, 2019
@taylorotwell taylorotwell merged commit c0daa4f into laravel:master Aug 6, 2019
@fgilio
Copy link

fgilio commented Mar 4, 2020

A really welcomed change, thanks!

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.

3 participants