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

#425 Use RedisDsn to build connection options for env based config #439

Merged
merged 1 commit into from
Jun 25, 2018

Conversation

B-Galati
Copy link
Collaborator

fix #425

  • Always use PredisParametersFactory to build connection options so that it creates consistency between env/non-env based config
  • Use RedisDsn to parse redis DSN instead of \Predis\Connection\Parameters::parse(). It creates consistence between phpredis and predis behavior.

@B-Galati
Copy link
Collaborator Author

B-Galati commented Jun 17, 2018

This PR depends on #432

@curry684 curry684 added the on-hold Will not be merged or solved until other tasks have been performed label Jun 19, 2018
@curry684
Copy link
Collaborator

Holding off on merge until Symfony 4.1.1 is out and therefore #432 can go in.

@B-Galati
Copy link
Collaborator Author

CI looks good now :D

@curry684
Copy link
Collaborator

Goodie 😆

@curry684
Copy link
Collaborator

Derp apparently I shouldn't have merged #432 first?

@curry684 curry684 removed the on-hold Will not be merged or solved until other tasks have been performed label Jun 25, 2018
@B-Galati
Copy link
Collaborator Author

@curry684 You did well. It was the right order. I'll fix the conflicts tomorrow ;-)

fix snc#425

- Always use PredisParametersFactory to build connection options so that it creates consistency between env/non-env based config
- Use RedisDsn to parse redis DSN instead of \Predis\Connection\Parameters::parse(). It creates consistence between phpredis and predis behavior.
@B-Galati
Copy link
Collaborator Author

@curry684 Done, it looks like it was a false positive conflict. Probably because I changed the commit sha1 of the based branch.

@curry684 curry684 merged commit 3f3c233 into snc:2.1 Jun 25, 2018
@curry684
Copy link
Collaborator

Thanks!

curry684 pushed a commit that referenced this pull request Jul 19, 2018
fix #425

- Always use PredisParametersFactory to build connection options so that it creates consistency between env/non-env based config
- Use RedisDsn to parse redis DSN instead of \Predis\Connection\Parameters::parse(). It creates consistence between phpredis and predis behavior.

(cherry picked from commit 3f3c233)
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.

2 participants