mirror of https://github.com/mastodon/mastodon
Fix cache redis not being used (#16131)
This commit is contained in:
parent
7da104eb11
commit
422df9d670
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue