0
0
Fork 0

Only distribute statuses to followers who signed in in the last 2 weeks, add rake task for clearing feeds of inactive users

This commit is contained in:
Eugen Rochko 2016-11-24 18:17:58 +01:00
parent 7baca3fe4d
commit 4f1d863615
3 changed files with 12 additions and 3 deletions

View file

@ -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.