-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[Cache] Fix redis adapter config to work with tags #19996
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
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.
looks good to me
@nicolas-grekas This applies to 5.4 too, right? |
@xabbuh you are right. This is available since 5.2: symfony/symfony#36596 |
Thank you @Huluti. |
I'm sorry but this change looks wrong to me. I just created a small app and the previous snippet works well. |
@Huluti did you use |
I found that to work with redis and tags using this config was not working (tag not set and invalidation not working):
While with this one all was working fine:
Up to you if you think that it makes sense :)