You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/08/26 03:57:00 UTC

[jira] [Commented] (ARTEMIS-2392) Enable remove on cancel policy for scheduled pool

    [ https://issues.apache.org/jira/browse/ARTEMIS-2392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16915454#comment-16915454 ] 

ASF subversion and git services commented on ARTEMIS-2392:
----------------------------------------------------------

Commit ee31a92d23b3d8bf07fafcf76a54a9b55fc02548 in activemq-artemis's branch refs/heads/master from brusdev
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=ee31a92 ]

ARTEMIS-2392 Enable remove on cancel policy for scheduled pool

By default, such a cancelled task is not automatically removed from the
work queue until its delay elapses. It may cause unbounded retention of
cancelled tasks. To avoid this, set remove on cancel policy to true.


> 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
>          Time Spent: 1h 50m
>  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)