diff options
author | Takeshi Umeda <noel.yoshiba@gmail.com> | 2021-04-29 22:43:49 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-29 15:43:49 +0200 |
commit | 422df9d670dea235089e5d0732f50bc45bd3d673 (patch) | |
tree | 1857cb0c44fa0cd5ab01eeae1ff3a4e8b75683e9 /lib | |
parent | 7da104eb11d3df12f89489a7d728b8b5df8425a8 (diff) |
Fix cache redis not being used (#16131)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/mastodon/redis_config.rb | 2 |
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 |