mirror of
				https://github.com/apache/cloudstack.git
				synced 2025-11-04 00:02:37 +01:00 
			
		
		
		
	CLOUDSTACK-1849 Creation of LB Health Check policy fails if the value of Unhealthy Threshold parameter is 3 or more.
Signed-off-by: Sateesh Chodapuneedi <sateesh@apache.org>
This commit is contained in:
		
							parent
							
								
									38b4f84f17
								
							
						
					
					
						commit
						c8e3fff6e4
					
				@ -2297,6 +2297,7 @@ public class NetscalerResource implements ServerResource {
 | 
			
		||||
                }
 | 
			
		||||
 | 
			
		||||
                csMon.set_interval(hcp.getHealthcheckInterval());
 | 
			
		||||
                csMon.set_retries(Math.max(hcp.getHealthcheckThresshold(), hcp.getUnhealthThresshold()) + 1);
 | 
			
		||||
                csMon.set_resptimeout(hcp.getResponseTime());
 | 
			
		||||
                csMon.set_failureretries(hcp.getUnhealthThresshold());
 | 
			
		||||
                csMon.set_successretries(hcp.getHealthcheckThresshold());
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user