mirror of
				https://github.com/matrix-org/synapse.git
				synced 2025-10-31 20:28:16 +00:00 
			
		
		
		
	Reduce default third party invite rate limit to 216 invites per day (#14487)
The previous default was the same as the `rc_message` rate limit, which defaults to 17,280 per day. Signed-off-by: Sean Quah <seanq@matrix.org>
This commit is contained in:
		
							parent
							
								
									ae22e6e94f
								
							
						
					
					
						commit
						78e23eea05
					
				
							
								
								
									
										1
									
								
								changelog.d/14487.misc
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								changelog.d/14487.misc
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1 @@ | |||||||
|  | Reduce default third party invite rate limit to 216 invites per day. | ||||||
| @ -150,8 +150,5 @@ class RatelimitConfig(Config): | |||||||
| 
 | 
 | ||||||
|         self.rc_third_party_invite = RatelimitSettings( |         self.rc_third_party_invite = RatelimitSettings( | ||||||
|             config.get("rc_third_party_invite", {}), |             config.get("rc_third_party_invite", {}), | ||||||
|             defaults={ |             defaults={"per_second": 0.0025, "burst_count": 5}, | ||||||
|                 "per_second": self.rc_message.per_second, |  | ||||||
|                 "burst_count": self.rc_message.burst_count, |  | ||||||
|             }, |  | ||||||
|         ) |         ) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user