stratos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From raviha...@apache.org
Subject stratos git commit: Fixing application monitor creating failure issue due to re-try timeout
Date Fri, 07 Aug 2015 17:22:37 GMT
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 <ravihansa3000@gmail.com>
Authored: Fri Aug 7 22:52:12 2015 +0530
Committer: Akila Perera <ravihansa3000@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


Mime
View raw message