diff options
author | multiple creatures <dev@multiple-creature.party> | 2020-01-10 21:53:49 -0600 |
---|---|---|
committer | multiple creatures <dev@multiple-creature.party> | 2020-01-10 21:55:08 -0600 |
commit | ce72d574879b95bd3da5959062d04037945f292f (patch) | |
tree | e386464fa0f25292e509199e5ea483ec3a95baa4 | |
parent | a32afcccd0d34883b88f51a46f0ba0f1fb427adc (diff) |
set caching backend to cache items for 1 hour
-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 f11d94a45..e44b81b2c 100644 --- a/lib/mastodon/redis_config.rb +++ b/lib/mastodon/redis_config.rb @@ -25,6 +25,6 @@ namespace = ENV.fetch('REDIS_NAMESPACE') { nil } cache_namespace = namespace ? namespace + '_cache' : 'cache' REDIS_CACHE_PARAMS = { - expires_in: 10.minutes, + expires_in: 60.minutes, namespace: cache_namespace, }.freeze |