You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by sf...@apache.org on 2014/09/22 23:44:55 UTC

git commit: remove call to check notifiers, not efficient

Repository: incubator-usergrid
Updated Branches:
  refs/heads/two-dot-o 6c8e70157 -> 5e111408c


remove call to check notifiers, not efficient


Project: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/commit/5e111408
Tree: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/tree/5e111408
Diff: http://git-wip-us.apache.org/repos/asf/incubator-usergrid/diff/5e111408

Branch: refs/heads/two-dot-o
Commit: 5e111408c20d089b9cc8f9f7c444e3c1a136b609
Parents: 6c8e701
Author: Shawn Feldman <sf...@apache.org>
Authored: Mon Sep 22 15:44:46 2014 -0600
Committer: Shawn Feldman <sf...@apache.org>
Committed: Mon Sep 22 15:44:46 2014 -0600

----------------------------------------------------------------------
 .../usergrid/services/notifications/SingleQueueTaskManager.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-usergrid/blob/5e111408/stack/services/src/main/java/org/apache/usergrid/services/notifications/SingleQueueTaskManager.java
----------------------------------------------------------------------
diff --git a/stack/services/src/main/java/org/apache/usergrid/services/notifications/SingleQueueTaskManager.java b/stack/services/src/main/java/org/apache/usergrid/services/notifications/SingleQueueTaskManager.java
index 6341042..2313853 100644
--- a/stack/services/src/main/java/org/apache/usergrid/services/notifications/SingleQueueTaskManager.java
+++ b/stack/services/src/main/java/org/apache/usergrid/services/notifications/SingleQueueTaskManager.java
@@ -201,8 +201,8 @@ public class SingleQueueTaskManager implements NotificationsTaskManager {
         LOG.info("notification finished batch: {}", notification.getUuid());
         em.update(notification);
 
-        Set<Notifier> notifiers = new HashSet<Notifier>(proxy.getNotifierMap().values()); // remove dups
-        proxy.asyncCheckForInactiveDevices(notifiers);
+       // Set<Notifier> notifiers = new HashSet<Notifier>(proxy.getNotifierMap().values()); // remove dups
+        //proxy.asyncCheckForInactiveDevices(notifiers);
     }