mirror of
				https://github.com/gyurix1968/guacamole-client.git
				synced 2025-10-30 16:43:22 +00:00 
			
		
		
		
	GUACAMOLE-102: Get rid of arbitary constant in compare method for WLC algorithm.
This commit is contained in:
		
				
					committed by
					
						 Nick Couchman
						Nick Couchman
					
				
			
			
				
	
			
			
			
						parent
						
							f22852721c
						
					
				
				
					commit
					4033e097c7
				
			| @@ -207,7 +207,7 @@ public class RestrictedGuacamoleTunnelService | ||||
|                 int connsA = getActiveConnections(a).size() + 1; | ||||
|                 int connsB = getActiveConnections(b).size() + 1; | ||||
|  | ||||
|                 return (connsA * 10000 / weightA) - (connsB * 10000 / weightB); | ||||
|                 return (connsA * weightB) - (connsB * weightA); | ||||
|  | ||||
|             } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user