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:
parent
7baca3fe4d
commit
4f1d863615
3 changed files with 12 additions and 3 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue