Symfony 5 redis cache adapter health check

Haven’t seen any answers considering this so I’m posting this post.

When using Symfony 5 with Redis cache adapter, does Symfony handle health check if the redis instance is alive?

For example:

If I need to get some data from Redis cache and for some reasons, redis server is down, will there be a huge timeout delay or does symfony detect, that the instance is down and returns an empty CacheItem without a huge delay?

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *