]> cat aescling's git repositories - mastodon.git/commitdiff
Fix cache redis not being used (#16131)
authorTakeshi Umeda <noel.yoshiba@gmail.com>
Thu, 29 Apr 2021 13:43:49 +0000 (22:43 +0900)
committerGitHub <noreply@github.com>
Thu, 29 Apr 2021 13:43:49 +0000 (15:43 +0200)
lib/mastodon/redis_config.rb

index 3f2a8f7c264da0a87002fc170dbbcb7761532500..d341a84840173cb48ee21ec6bbd7df03d1696f03 100644 (file)
@@ -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