Store home feeds for 7 days instead of 14 (#7354)
* Store home feeds for 7 days instead of 14 Reduces workload for status fan-out to active followers * Fix test for user model
This commit is contained in:
		@@ -41,7 +41,7 @@ class User < ApplicationRecord
 | 
			
		||||
  include Settings::Extend
 | 
			
		||||
  include Omniauthable
 | 
			
		||||
 | 
			
		||||
  ACTIVE_DURATION = 14.days
 | 
			
		||||
  ACTIVE_DURATION = 7.days
 | 
			
		||||
 | 
			
		||||
  devise :two_factor_authenticatable,
 | 
			
		||||
         otp_secret_encryption_key: Rails.configuration.x.otp_secret
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user