lib/flipper/adapters/redis_cache.rb in flipper-redis-0.21.0.rc1 vs lib/flipper/adapters/redis_cache.rb in flipper-redis-0.21.0.rc2
- old
+ new
@@ -146,10 +146,10 @@
def multi_cache_get(keys)
return [] if keys.empty?
cache_keys = keys.map { |key| key_for(key) }
- @cache.mget(cache_keys).map do |value|
+ @cache.mget(*cache_keys).map do |value|
value ? Marshal.load(value) : nil
end
end
end
end