You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With this change the RedisContentCacheReader uses the integrated redis backend with Neos 8 and the optimized Redis backend with Neos 7.
An exception is thrown if neither condition is meet.
$reflProp = new \ReflectionProperty(\Sandstorm\OptimizedRedisCacheBackend\OptimizedRedisCacheBackend::class, 'redis');
63
+
$reflProp->setAccessible(true);
64
+
$redis = $reflProp->getValue($backend);
56
65
} else {
57
-
thrownew \RuntimeException('TODO: Cache backend must be OptimizedRedisCacheBackend.');
66
+
thrownew \RuntimeException('The cache backend for "Neos_Fusion_Content" must be an OptimizedRedisCacheBackend, but is ' . get_class($backend), 1622570000);
0 commit comments