diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-24 18:17:58 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-11-24 18:17:58 +0100 |
commit | 4f1d8636154d8f445eadec5ce3906f06324b0176 (patch) | |
tree | 7c044c73bc462af98ce2740848c41d8e4f54a40c /config/environments | |
parent | 7baca3fe4d4b3279236f0004c867bcd2f5bc8849 (diff) |
Only distribute statuses to followers who signed in in the last 2 weeks, add rake task for clearing feeds of inactive users
Diffstat (limited to 'config/environments')
-rw-r--r-- | config/environments/production.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/config/environments/production.rb b/config/environments/production.rb index 7f13fcf6b..dcb659d6c 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -50,7 +50,8 @@ Rails.application.configure do host: ENV.fetch('REDIS_HOST') { 'localhost' }, port: ENV.fetch('REDIS_PORT') { 6379 }, db: 0, - namespace: 'cache' + namespace: 'cache', + expires_in: 20.minutes } # Enable serving of images, stylesheets, and JavaScripts from an asset server. |