You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to configure SNC Redis Bundle to utilize ENV variables for the list of DSNs, but I've discovered that this case is not properly handled (or it is not intended to be possible?). I have noticed that Snc\RedisBundle\Factory\PhpredisClientFactory does have this case handled properly (line 48). The version I'm using is 3.3.0.
I was trying to configure SNC Redis Bundle to utilize ENV variables for the list of DSNs, but I've discovered that this case is not properly handled (or it is not intended to be possible?). I have noticed that
Snc\RedisBundle\Factory\PhpredisClientFactory
does have this case handled properly (line 48). The version I'm using is 3.3.0.Steps to reproduce:
So, lets say we have the following config:
This will work flawlessly. However, if I want to have the same list of DSNs passed in via environment variables, the config would look like:
and
.env
would contain:In the first case
Snc\RedisBundle\Factory\PredisParametersFactory
receives$dsn
as:In the second case it receives:
...even though it should be the same.
The text was updated successfully, but these errors were encountered: