Resource icon

Graceful fallback for Redis failures

Ridemonkey

Well-known member
Licensed customer
Ridemonkey submitted a new resource:

Graceful fallback for Redis failures - Options/code snippets for allowing a failed Redis cache to gracefully fall back to the database

Graceful Redis Failover in src/config.php​

By default, if Redis is enabled in XenForo 2.x (natively or via Xon's SV\RedisCache add-on) and the Redis endpoint becomes unreachable, XenForo throws a fatal HTTP 500 error. Even a quick package upgrade or service restart will cause this. It annoyed me that I couldn't upgrade or disable Redis without editing the config file.

Because XenForo initializes the cache provider prior to loading add-ons, a graceful...

Read more about this resource...
 
Back
Top Bottom