Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 429133
Collapse All | Expand All

(-)a/bundles/org.eclipse.orion.server.cf/src/org/eclipse/orion/server/cf/commands/StartAppCommand.java (-2 / +4 lines)
Lines 29-35 Link Here
29
29
30
public class StartAppCommand extends AbstractCFCommand {
30
public class StartAppCommand extends AbstractCFCommand {
31
31
32
	private static final int MAX_ATTEMPTS = 150;
32
	private static final int MAX_ATTEMPTS = 30;
33
	private final Logger logger = LoggerFactory.getLogger("org.eclipse.orion.server.cf"); //$NON-NLS-1$
33
	private final Logger logger = LoggerFactory.getLogger("org.eclipse.orion.server.cf"); //$NON-NLS-1$
34
34
35
	private String commandName;
35
	private String commandName;
Lines 84-91 Link Here
84
				HttpUtil.configureHttpMethod(getInstancesMethod, target);
84
				HttpUtil.configureHttpMethod(getInstancesMethod, target);
85
85
86
				getInstancesStatus = HttpUtil.executeMethod(getInstancesMethod);
86
				getInstancesStatus = HttpUtil.executeMethod(getInstancesMethod);
87
				if (!getInstancesStatus.isOK())
87
				if (!getInstancesStatus.isOK()) {
88
					--attemptsLeft;
88
					continue;
89
					continue;
90
				}
89
91
90
				JSONObject appInstancesJSON = getInstancesStatus.getJsonData();
92
				JSONObject appInstancesJSON = getInstancesStatus.getJsonData();
91
93

Return to bug 429133