From ed9c8f67c4ea7985e2a29e65e352694b9d52ecdc Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Sat, 27 Apr 2019 20:34:11 -0500 Subject: [PATCH] Cache in memory for 30 minutes. --- lib/mastodon/redis_config.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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