Domenico Bruscino created ARTEMIS-2392:
------------------------------------------

             Summary: Enable remove on cancel policy for scheduled pool
                 Key: ARTEMIS-2392
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2392
             Project: ActiveMQ Artemis
          Issue Type: Improvement
          Components: Broker
    Affects Versions: 2.9.0
            Reporter: Domenico Bruscino


When a submitted task is cancelled before it is run, execution is suppressed. 
By default, such a cancelled task is not automatically removed from the work 
queue until its delay elapses. While this enables further inspection and 
monitoring, it may also cause unbounded retention of cancelled tasks. To avoid 
this, set remove on cancel policy to true, which causes tasks to be immediately 
removed from the work queue at time of cancellation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to