Fix cache redis not being used (#16131)

This commit is contained in:
Takeshi Umeda 2021-04-29 22:43:49 +09:00 committed by GitHub
parent 54a83a442d
commit 465434aac8

View file

@ -28,7 +28,7 @@ cache_namespace = namespace ? namespace + '_cache' : 'cache'
REDIS_CACHE_PARAMS = { REDIS_CACHE_PARAMS = {
driver: :hiredis, driver: :hiredis,
url: ENV['REDIS_URL'], url: ENV['CACHE_REDIS_URL'],
expires_in: 10.minutes, expires_in: 10.minutes,
namespace: cache_namespace, namespace: cache_namespace,
}.freeze }.freeze