Specify ConnectionManagerTimeout in milliseconds
@@ -185,7 +185,7 @@ public class ControllerStarter {
LOGGER.info("Controller download url base: {}", _config.generateVipUrl());
LOGGER.info("Injecting configuration and resource managers to the API context");
final MultiThreadedHttpConnectionManager connectionManager = new MultiThreadedHttpConnectionManager();
- connectionManager.getParams().setConnectionTimeout(_config.getServerAdminRequestTimeoutSeconds());
+ connectionManager.getParams().setConnectionTimeout(_config.getServerAdminRequestTimeoutSeconds() * 1000);
// register all the controller objects for injection to jersey resources
_adminApp.registerBinder(new AbstractBinder() {
@Override
