Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 240327 Details for
Bug 429133
Break starting the app if staging failed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Patch for review
file_429133.txt (text/plain), 1.10 KB, created by
Szymon Brandys
on 2014-02-26 07:49:20 EST
(
hide
)
Description:
Patch for review
Filename:
MIME Type:
Creator:
Szymon Brandys
Created:
2014-02-26 07:49:20 EST
Size:
1.10 KB
patch
obsolete
>diff --git a/bundles/org.eclipse.orion.server.cf/src/org/eclipse/orion/server/cf/commands/StartAppCommand.java b/bundles/org.eclipse.orion.server.cf/src/org/eclipse/orion/server/cf/commands/StartAppCommand.java >index 41df2f1..a1db557 100644 >--- a/bundles/org.eclipse.orion.server.cf/src/org/eclipse/orion/server/cf/commands/StartAppCommand.java >+++ b/bundles/org.eclipse.orion.server.cf/src/org/eclipse/orion/server/cf/commands/StartAppCommand.java >@@ -29,7 +29,7 @@ > > public class StartAppCommand extends AbstractCFCommand { > >- private static final int MAX_ATTEMPTS = 150; >+ private static final int MAX_ATTEMPTS = 30; > private final Logger logger = LoggerFactory.getLogger("org.eclipse.orion.server.cf"); //$NON-NLS-1$ > > private String commandName; >@@ -84,8 +84,10 @@ > HttpUtil.configureHttpMethod(getInstancesMethod, target); > > getInstancesStatus = HttpUtil.executeMethod(getInstancesMethod); >- if (!getInstancesStatus.isOK()) >+ if (!getInstancesStatus.isOK()) { >+ --attemptsLeft; > continue; >+ } > > JSONObject appInstancesJSON = getInstancesStatus.getJsonData(); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 429133
: 240327