bug 11541: Change CheckRouterCommand timeout from default 10 minutes to 1 minute

Reviewed-by: Anthony Xu

status 11541: resolved fixed
This commit is contained in:
Sheng Yang 2011-09-22 19:15:29 -07:00
parent 5c35b7f164
commit b96701a6c4
1 changed files with 1 additions and 0 deletions

View File

@ -808,6 +808,7 @@ public class VirtualNetworkApplianceManagerImpl implements VirtualNetworkApplian
final CheckRouterCommand command = new CheckRouterCommand();
command.setAccessDetail(NetworkElementCommand.ROUTER_IP, router.getPrivateIpAddress());
command.setAccessDetail(NetworkElementCommand.ROUTER_NAME, router.getInstanceName());
command.setWait(60);
final CheckRouterAnswer answer = (CheckRouterAnswer) _agentMgr.easySend(router.getHostId(), command);
RedundantState state = RedundantState.UNKNOWN;
boolean isBumped = router.getIsPriorityBumpUp();