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

    https://github.com/apache/activemq-artemis/pull/1638#discussion_r148852944
  
    --- Diff: 
artemis-commons/src/main/java/org/apache/activemq/artemis/utils/actors/ProcessorBase.java
 ---
    @@ -111,7 +141,10 @@ public final boolean isFlushed() {
     
        protected void task(T command) {
           tasks.add(command);
    -      startPoller();
    +      //there is no need to alert the poller if already in the event loop
    --- End diff --
    
    @clebertsuconic This is the improvement I've mentioned: I've left it here 
just to understand if it is safe but I can push in another PR apart (in the 
future) too, if it seems safe.


---

Reply via email to