瀏覽代碼

Fix cache redis not being used (#16131)

Takeshi Umeda 3 年之前
父節點
當前提交
422df9d670
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/mastodon/redis_config.rb

+ 1 - 1
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