Browse Source
			
			
			Merge pull request #212 from Miiha/feature/pagination-performance
			
				Reduce amount of paginated requests.
			
			
				pull/224/head
			
			
		 
		
			
				
					
						 Marcos Pereira
					
					4 years ago
						Marcos Pereira
					
					4 years ago
					
						
							committed by
							
								 GitHub
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
				  
				  No known key found for this signature in database
				  
				  	
						GPG Key ID: 4AEE18F83AFDEB23
				  	
				  
				
			
		
		
		
	
		
			
				 1 changed files with 
2 additions and 
0 deletions
			 
			
		 
		
			
				- 
					
					
					 
					keycloak/keycloak_admin.py
				
					
					
						
							
								
									
										
											
	
		
			
				
					|  |  | @ -223,6 +223,8 @@ class KeycloakAdmin: | 
			
		
	
		
			
				
					|  |  |  |             if not partial_results: | 
			
		
	
		
			
				
					|  |  |  |                 break | 
			
		
	
		
			
				
					|  |  |  |             results.extend(partial_results) | 
			
		
	
		
			
				
					|  |  |  |             if len(partial_results) < query['max']: | 
			
		
	
		
			
				
					|  |  |  |                 break | 
			
		
	
		
			
				
					|  |  |  |             page += 1 | 
			
		
	
		
			
				
					|  |  |  |         return results | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  | 
 |