Browse Source

Fix cache redis not being used (#16131)

closed-social-v3
Takeshi Umeda 3 years ago
committed by GitHub
parent
commit
422df9d670
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/mastodon/redis_config.rb

+ 1
- 1
lib/mastodon/redis_config.rb View 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

Loading…
Cancel
Save