Skip to content

Commit

Permalink
[Cache] Fixed not supported Redis eviction policies
Browse files Browse the repository at this point in the history
  • Loading branch information
SerheyDolgushev committed Apr 28, 2020
1 parent a2f0bf8 commit 2a11d05
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -97,7 +97,7 @@ protected function doSave(array $values, int $lifetime, array $addTagData = [],
if ('noeviction' !== $eviction && 0 !== strpos($eviction, 'volatile-')) {
CacheItem::log($this->logger, sprintf('Redis maxmemory-policy setting "%s" is *not* supported by RedisTagAwareAdapter, use "noeviction" or "volatile-*" eviction policies', $eviction));

return false;
return [];
}

// serialize values
Expand Down

0 comments on commit 2a11d05

Please sign in to comment.