about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2020-01-10 21:53:49 -0600
committermultiple creatures <dev@multiple-creature.party>2020-01-10 21:55:08 -0600
commitce72d574879b95bd3da5959062d04037945f292f (patch)
treee386464fa0f25292e509199e5ea483ec3a95baa4 /lib
parenta32afcccd0d34883b88f51a46f0ba0f1fb427adc (diff)
set caching backend to cache items for 1 hour
Diffstat (limited to 'lib')
-rw-r--r--lib/mastodon/redis_config.rb2
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