Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #36606 [Cache] Fixed not supported Redis eviction policies (Serhe…
…yDolgushev) This PR was merged into the 4.4 branch. Discussion ---------- [Cache] Fixed not supported Redis eviction policies | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | no | License | MIT | Doc PR | no **Steps to reproduce:** 1. Define the following redis service on SymfonyCloud: ``` rediscache: type: redis:5.0 size: S configuration: maxmemory_policy: allkeys-lru ``` 2. Deploy the change **Expected result:** No redis cache will be populated **Actual result:** Following exception is thrown: ``` [2020-04-28T05:35:58.440403-04:00] php.CRITICAL: Uncaught Error: Return value of Symfony\Component\Cache\Adapter\RedisTagAwareAdapter::doSave() must be of the type array, bool returned {"exception":"[object] (TypeError(code: 0): Return value of Symfony\\Component\\Cache\\Adapter\\RedisTagAwareAdapter::doSave() must be of the type array, bool returned at /app/vendor/symfony/cache/Adapter/RedisTagAwareAdapter.php:100)"} [] ``` Commits ------- 3d6e942 [Cache] Fixed not supported Redis eviction policies
- Loading branch information