-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Show how to configure multiple redis servers #11388
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
I got even bolder with this PR. I removed the "user" stuff because it is invalid. |
@nicolas-grekas Could you verify the correctness of these docs? |
We could need more details about the supported DSN for multi-hosts, but this is a very good start, thanks! |
I've updated the PR to show some more examples with options. I think it makes sense to show off how to configure the DSN since this will also be used with the framework bundle. If you are using the stand alone component you are more likely to pass an array of options as the second argument of |
); | ||
|
||
.. versionadded:: 4.2 | ||
|
||
The option to define multiple servers in a single DSN was introduced in Symfony 4.2. | ||
|
||
.. Note:: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please note in lowercase
Thank you for the reviews. I promise that I will make at least one PR without any syntax errors this month. |
No worries, that's teamwork: round-robin errors and fixes ;) |
Yes if you write the docs we are happy to fix the syntax 💥✌🏻 |
Thanks Tobias! Nice contribution ... and another issue fixed! |
Thank you for merging. |
This will fix #10573