Skip to content

Commit 8fe145a

Browse files
committed
minor #19996 [Cache] Fix redis adapter config to work with tags (Huluti)
This PR was submitted for the 7.1 branch but it was merged into the 5.4 branch instead. Discussion ---------- [Cache] Fix redis adapter config to work with tags I found that to work with redis and tags using this config was not working (tag not set and invalidation not working): ``` 'adapter' => 'cache.adapter.redis', 'tags' => true, ``` While with this one all was working fine: ``` adapter' => 'cache.adapter.redis_tag_aware', ``` Up to you if you think that it makes sense :) Commits ------- a04e07c Fix redis adapter config to work with tags
2 parents 934021d + a04e07c commit 8fe145a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cache.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -618,8 +618,7 @@ to enable this feature. This could be added by using the following configuration
618618
cache:
619619
pools:
620620
my_cache_pool:
621-
adapter: cache.adapter.redis
622-
tags: true
621+
adapter: cache.adapter.redis_tag_aware
623622
624623
.. code-block:: xml
625624

0 commit comments

Comments
 (0)