You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by ra...@apache.org on 2015/08/07 19:22:37 UTC

stratos git commit: Fixing application monitor creating failure issue due to re-try timeout

Repository: stratos
Updated Branches:
  refs/heads/master 2c052c49d -> bd65af0a2


Fixing application monitor creating failure issue due to re-try timeout


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

Branch: refs/heads/master
Commit: bd65af0a2bb034b5d2fd94bc7f6f4eb3e57ff51d
Parents: 2c052c4
Author: Akila Perera <ra...@gmail.com>
Authored: Fri Aug 7 22:52:12 2015 +0530
Committer: Akila Perera <ra...@gmail.com>
Committed: Fri Aug 7 22:52:12 2015 +0530

----------------------------------------------------------------------
 .../event/receiver/topology/AutoscalerTopologyEventReceiver.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/bd65af0a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/event/receiver/topology/AutoscalerTopologyEventReceiver.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/event/receiver/topology/AutoscalerTopologyEventReceiver.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/event/receiver/topology/AutoscalerTopologyEventReceiver.java
index 4e6d8fd..119c9c6 100644
--- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/event/receiver/topology/AutoscalerTopologyEventReceiver.java
+++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/event/receiver/topology/AutoscalerTopologyEventReceiver.java
@@ -133,7 +133,7 @@ public class AutoscalerTopologyEventReceiver {
                             (ApplicationClustersCreatedEvent) event;
                     String appId = applicationClustersCreatedEvent.getAppId();
                     boolean appMonitorCreationTriggered = false;
-                    int retries = 5;
+                    int retries = 30;
                     while (!appMonitorCreationTriggered && retries > 0) {
                         try {
                             //acquire read lock