bug 13946: reducing poll interval

reviewed-by: abhi
This commit is contained in:
Abhinandan Prateek 2012-08-25 09:37:59 +05:30
parent 099cf848e6
commit ac7b5c4492
1 changed files with 2 additions and 2 deletions

View File

@ -1089,12 +1089,12 @@ public class ResourceManagerImpl implements ResourceManager, ResourceService, Ma
umanageHost(host.getId());
}
}
int retry = 10;
int retry = 40;
boolean lsuccess = true;
for ( int i = 0; i < retry; i++) {
lsuccess = true;
try {
Thread.sleep(20 * 1000);
Thread.sleep(5 * 1000);
} catch (Exception e) {
}
hosts = listAllUpAndEnabledHosts(Host.Type.Routing, cluster.getId(), cluster.getPodId(), cluster.getDataCenterId());