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/11/14 04:18:09 UTC
stratos git commit: removing unnecessary thread sleep
Repository: stratos
Updated Branches:
refs/heads/stratos-4.1.x ec1fe233e -> 26f0c4e0a
removing unnecessary thread sleep
Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/26f0c4e0
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/26f0c4e0
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/26f0c4e0
Branch: refs/heads/stratos-4.1.x
Commit: 26f0c4e0a80b773733aff2b37f5458574c2520e2
Parents: ec1fe23
Author: rajkumar <ra...@apache.org>
Authored: Sat Nov 14 08:47:39 2015 +0530
Committer: rajkumar <ra...@apache.org>
Committed: Sat Nov 14 08:47:39 2015 +0530
----------------------------------------------------------------------
.../receiver/health/AutoscalerHealthStatEventReceiver.java | 5 -----
1 file changed, 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/stratos/blob/26f0c4e0/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/event/receiver/health/AutoscalerHealthStatEventReceiver.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/event/receiver/health/AutoscalerHealthStatEventReceiver.java b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/event/receiver/health/AutoscalerHealthStatEventReceiver.java
index 826a325..b8482f0 100644
--- a/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/event/receiver/health/AutoscalerHealthStatEventReceiver.java
+++ b/components/org.apache.stratos.autoscaler/src/main/java/org/apache/stratos/autoscaler/event/receiver/health/AutoscalerHealthStatEventReceiver.java
@@ -50,11 +50,6 @@ public class AutoscalerHealthStatEventReceiver {
}
public void execute() {
- //FIXME this activated before autoscaler deployer activated.
- try {
- Thread.sleep(15000);
- } catch (InterruptedException ignore) {
- }
healthStatEventReceiver.setExecutorService(executorService);
healthStatEventReceiver.execute();