[
https://issues.apache.org/jira/browse/ARTEMIS-2392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
clebert suconic reopened ARTEMIS-2392:
--------------------------------------
> 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
> Priority: Major
> Fix For: 2.10.0
>
> Time Spent: 2h
> Remaining Estimate: 0h
>
> 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
(v8.3.2#803003)