You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by im...@apache.org on 2015/03/21 12:26:28 UTC

stratos git commit: Updating component startup synchronizer

Repository: stratos
Updated Branches:
  refs/heads/master c6e8359d5 -> 09eeb1970


Updating component startup synchronizer


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/09eeb197
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/09eeb197
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/09eeb197

Branch: refs/heads/master
Commit: 09eeb197075f23a34051327bd69e700403e9dc25
Parents: c6e8359
Author: Imesh Gunaratne <im...@apache.org>
Authored: Sat Mar 21 16:56:11 2015 +0530
Committer: Imesh Gunaratne <im...@apache.org>
Committed: Sat Mar 21 16:56:11 2015 +0530

----------------------------------------------------------------------
 .../stratos/common/internal/ComponentStartUpSynchronizerImpl.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/09eeb197/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/internal/ComponentStartUpSynchronizerImpl.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/internal/ComponentStartUpSynchronizerImpl.java b/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/internal/ComponentStartUpSynchronizerImpl.java
index e0fff77..8aa1b12 100644
--- a/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/internal/ComponentStartUpSynchronizerImpl.java
+++ b/components/org.apache.stratos.common/src/main/java/org/apache/stratos/common/internal/ComponentStartUpSynchronizerImpl.java
@@ -111,7 +111,7 @@ public class ComponentStartUpSynchronizerImpl implements ComponentStartUpSynchro
             while (!cloudControllerService.isActive()) {
                 log.info(String.format("Waiting for %s web service to become active...", serviceName));
                 try {
-                    Thread.sleep(2000);
+                    Thread.sleep(componentActivationCheckInterval);
                 } catch (InterruptedException ignore) {
                     return;
                 }