about summary refs log tree commit diff
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-04-27 20:34:11 -0500
committermultiple creatures <dev@multiple-creature.party>2019-05-21 03:16:22 -0500
commited9c8f67c4ea7985e2a29e65e352694b9d52ecdc (patch)
tree4918494b5d69f8943da628e837a16cd696883303
parent13262ea61433cce3b8d96fe53d5d9255ef5fba7f (diff)
Cache in memory for 30 minutes.
-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..4062fbba3 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: 30.minutes,
   namespace: cache_namespace,
 }.freeze