mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	presence: Disable live presence updates in larger realms.
As discussed in the comment, this is a critical scalability optimization for organizations with thousands of users. With substantial comment updates by tabbott.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							638ffb36a4
						
					
				
				
					commit
					cc96f02947
				
			@@ -411,6 +411,10 @@ STAGING_ERROR_NOTIFICATIONS = False
 | 
			
		||||
# default_settings, since it likely isn't usefully user-configurable.
 | 
			
		||||
OFFLINE_THRESHOLD_SECS = 5 * 60
 | 
			
		||||
 | 
			
		||||
# Specifies the number of active users in the realm
 | 
			
		||||
# above which sending of presence update events will be disabled.
 | 
			
		||||
USER_LIMIT_FOR_SENDING_PRESENCE_UPDATE_EVENTS = 100
 | 
			
		||||
 | 
			
		||||
# How many days deleted messages data should be kept before being
 | 
			
		||||
# permanently deleted.
 | 
			
		||||
ARCHIVED_DATA_VACUUMING_DELAY_DAYS = 7
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user