From: Takeshi Umeda Date: Thu, 29 Apr 2021 13:43:49 +0000 (+0900) Subject: Fix cache redis not being used (#16131) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=422df9d670dea235089e5d0732f50bc45bd3d673;p=mastodon.git Fix cache redis not being used (#16131) --- diff --git a/lib/mastodon/redis_config.rb b/lib/mastodon/redis_config.rb index 3f2a8f7c2..d341a8484 100644 --- a/lib/mastodon/redis_config.rb +++ b/lib/mastodon/redis_config.rb @@ -28,7 +28,7 @@ cache_namespace = namespace ? namespace + '_cache' : 'cache' REDIS_CACHE_PARAMS = { driver: :hiredis, - url: ENV['REDIS_URL'], + url: ENV['CACHE_REDIS_URL'], expires_in: 10.minutes, namespace: cache_namespace, }.freeze