mirror of https://github.com/apache/cloudstack.git
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…
Reference in New Issue