Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Fix issue with Redis Cache adapter whereby setOption was being called before connecting to Redis server #4577

Conversation

tom-pryor
Copy link

You can't call setOption until you've connected to Redis. Not really sure why this is the case but this is how the phpredis extension behaves.

See issue #4576

@marc-mabe
Copy link
Member

Thank you to find that out. The fix looks good but could you add a test please.

@weierophinney
Copy link
Member

Ping @Tomdarkness -- would love to have this in 2.2.1, but we need a test case; can you get one to us in the next 1-2 days, please?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants