eagle-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject incubator-eagle git commit: [EAGLE-434] fix policy change listener daemon not working issue
Date Tue, 09 Aug 2016 08:55:21 GMT
Repository: incubator-eagle
Updated Branches:
  refs/heads/develop 5bf2c62d2 -> 32d96b295


[EAGLE-434] fix policy change listener daemon not working issue

Author: Xiancheng Li <xiancheng.li@ebay.com>

Closes #313 from garrettlish/eagle434.


Project: http://git-wip-us.apache.org/repos/asf/incubator-eagle/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-eagle/commit/32d96b29
Tree: http://git-wip-us.apache.org/repos/asf/incubator-eagle/tree/32d96b29
Diff: http://git-wip-us.apache.org/repos/asf/incubator-eagle/diff/32d96b29

Branch: refs/heads/develop
Commit: 32d96b2952f578a0397e3227358cad608243daf5
Parents: 5bf2c62
Author: Xiancheng Li <xiancheng.li@ebay.com>
Authored: Tue Aug 9 16:55:05 2016 +0800
Committer: Hao Chen <hao@apache.org>
Committed: Tue Aug 9 16:55:05 2016 +0800

----------------------------------------------------------------------
 .../main/java/org/apache/eagle/alert/coordinator/Coordinator.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/32d96b29/eagle-core/eagle-alert-parent/eagle-alert/alert-coordinator/src/main/java/org/apache/eagle/alert/coordinator/Coordinator.java
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-alert-parent/eagle-alert/alert-coordinator/src/main/java/org/apache/eagle/alert/coordinator/Coordinator.java
b/eagle-core/eagle-alert-parent/eagle-alert/alert-coordinator/src/main/java/org/apache/eagle/alert/coordinator/Coordinator.java
index df4bc34..06aca01 100644
--- a/eagle-core/eagle-alert-parent/eagle-alert/alert-coordinator/src/main/java/org/apache/eagle/alert/coordinator/Coordinator.java
+++ b/eagle-core/eagle-alert-parent/eagle-alert/alert-coordinator/src/main/java/org/apache/eagle/alert/coordinator/Coordinator.java
@@ -224,7 +224,7 @@ public class Coordinator {
         ScheduledExecutorService scheduleSrv = Executors.newScheduledThreadPool(2, new ThreadFactory()
{
             @Override
             public Thread newThread(Runnable r) {
-                Thread t = new Thread();
+                Thread t = new Thread(r);
                 t.setDaemon(true);
                 return t;
             }


Mime
View raw message