usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mru...@apache.org
Subject [4/4] usergrid git commit: Fix issue where duplicate receipts were created when a notification failed.
Date Fri, 31 Mar 2017 07:44:50 GMT
Fix issue where duplicate receipts were created when a notification failed.


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

Branch: refs/heads/master
Commit: 8b63aae7def01cbf4f83e13bc5ef1b237344174b
Parents: b37fc81
Author: Michael Russo <russomichael@google.com>
Authored: Fri Mar 31 00:40:39 2017 -0700
Committer: Michael Russo <russomichael@google.com>
Committed: Fri Mar 31 00:40:39 2017 -0700

----------------------------------------------------------------------
 .../org/apache/usergrid/services/notifications/TaskManager.java     | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/usergrid/blob/8b63aae7/stack/services/src/main/java/org/apache/usergrid/services/notifications/TaskManager.java
----------------------------------------------------------------------
diff --git a/stack/services/src/main/java/org/apache/usergrid/services/notifications/TaskManager.java
b/stack/services/src/main/java/org/apache/usergrid/services/notifications/TaskManager.java
index 870cae9..678b88a 100644
--- a/stack/services/src/main/java/org/apache/usergrid/services/notifications/TaskManager.java
+++ b/stack/services/src/main/java/org/apache/usergrid/services/notifications/TaskManager.java
@@ -112,7 +112,6 @@ public class TaskManager {
                 this.saveReceipt( notification, new SimpleEntityRef( Device.ENTITY_TYPE,
deviceUUID ), receipt, true );
             }
 
-            completed(notifier, deviceUUID);
             finishedBatch();
 
         } catch (Exception e){


Mime
View raw message