Connection error fallback
-
If Redis-server goes down the website return a fatal error “Uncaught Predis\Connection\ConnectionException: Connection refused … thrown in /wp-content/plugins/redis-cache/dependencies/predis/predis/src/Connection/AbstractConnection.php on line 131”.
My question is: there is a way to check if connection to redis is not available then switch off the object-cache (and avoid the fatal error), like a fallback logic?
I tried to use WP_REDIS_TIMEOUT parameter but it does’t work.
Thanks for your support
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Connection error fallback’ is closed to new replies.