mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	rate_limiter: Rename 'all' domain to 'api_by_user'.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							06198af5b9
						
					
				
				
					commit
					cb71a6571e
				
			@@ -24,8 +24,8 @@ class Command(ZulipBaseCommand):
 | 
			
		||||
                            help="Seconds to block for.")
 | 
			
		||||
        parser.add_argument('-d', '--domain',
 | 
			
		||||
                            dest='domain',
 | 
			
		||||
                            default='all',
 | 
			
		||||
                            help="Rate-limiting domain. Defaults to 'all'.")
 | 
			
		||||
                            default='api_by_user',
 | 
			
		||||
                            help="Rate-limiting domain. Defaults to 'api_by_user'.")
 | 
			
		||||
        parser.add_argument('-b', '--all-bots',
 | 
			
		||||
                            dest='bots',
 | 
			
		||||
                            action='store_true',
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user