about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-08-09 21:25:51 -0500
committermultiple creatures <dev@multiple-creature.party>2019-08-09 21:25:51 -0500
commiteac436986823b65a9099d8b39505fa4aa9fdf405 (patch)
treee4656e7d35c96b0d283b5f2b66f429bd08316613 /lib
parent5f08b96cbe74cd9c0d960f3031fe86d9fce75a77 (diff)
all i am saaaaaaaaaying / is use up less raaaaaaam
This reverts commit ed9c8f67c4ea7985e2a29e65e352694b9d52ecdc.
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 4062fbba3..f11d94a45 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: 30.minutes,
+  expires_in: 10.minutes,
   namespace: cache_namespace,
 }.freeze