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
Read more about this 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'sSV\RedisCacheadd-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...