profile
viewpoint

Ask questionsHow do I configure RedisCluster with Doctrine Cache

Hi.

I am not able to configure correctly SncRedisBundle to work with RedisCluster and doctrine for ResultCache.

Always end up with PHP Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Argument 1 passed to Doctrine\Common\Cache\RedisCache::setRedis() must be an instance of Redis, instance of RedisCluster_8dcfeee given

I read that DoctrineCache dont want to support RedisCluster and redirect me to Symfony Cache Apdater but I was not able to link all that together.

Any help is welcome. Thank.

snc/SncRedisBundle

Answer questions alex-bacart

default_lifetime: 25200 # 1 week

Actually it's 7 hours

useful!
source:https://uonfu.com/
Github User Rank List