Github user tnine commented on a diff in the pull request:

    https://github.com/apache/incubator-usergrid/pull/255#discussion_r31176595
  
    --- Diff: 
stack/services/src/main/java/org/apache/usergrid/services/notifications/QueueListener.java
 ---
    @@ -156,7 +156,7 @@ private void execute(){
                 try {
     
                     Timer.Context timerContext = timer.time();
    -                List<QueueMessage> messages = 
queueManager.getMessages(getBatchSize(), MESSAGE_TRANSACTION_TIMEOUT, 5000, 
ApplicationQueueMessage.class);
    +                List<QueueMessage> messages = 
queueManager.getMessages(getBatchSize(), MESSAGE_TRANSACTION_TIMEOUT, 10000, 
ApplicationQueueMessage.class);
    --- End diff --
    
    Yeah, I agree.  Given that this is something that is constantly producing a 
stream of output, we should probably change our queue manager to return an 
observable for subscription that will internally wrap the list implementation.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to