about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorTakeshi Umeda <noel.yoshiba@gmail.com>2021-04-29 22:43:49 +0900
committerGitHub <noreply@github.com>2021-04-29 15:43:49 +0200
commit422df9d670dea235089e5d0732f50bc45bd3d673 (patch)
tree1857cb0c44fa0cd5ab01eeae1ff3a4e8b75683e9 /lib
parent7da104eb11d3df12f89489a7d728b8b5df8425a8 (diff)
Fix cache redis not being used (#16131)
Diffstat (limited to 'lib')
-rw-r--r--lib/mastodon/redis_config.rb2
1 files changed, 1 insertions, 1 deletions
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