You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Jonathan Valliere (Jira)" <ji...@apache.org> on 2021/07/31 07:45:00 UTC

[jira] [Updated] (DIRMINA-1108) ThreadPoolExecutors should terminate faster

     [ https://issues.apache.org/jira/browse/DIRMINA-1108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Valliere updated DIRMINA-1108:
---------------------------------------
    Sprint: Mina Sprint 2

> ThreadPoolExecutors should terminate faster
> -------------------------------------------
>
>                 Key: DIRMINA-1108
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-1108
>             Project: MINA
>          Issue Type: Improvement
>    Affects Versions: 2.1.2
>            Reporter: Guus der Kinderen
>            Priority: Minor
>
> I've observed that the termination of {{org.apache.mina.filter.executor.PriorityThreadPoolExecutor}} takes another 30 seconds after the last task was executed. More specifically, it takes 30 seconds "to long" before {{org.apache.mina.filter.executor.PriorityThreadPoolExecutor#awaitTermination}} returns {{true}}.
> It is likely that this issue also applies to {{org.apache.mina.filter.executor.OrderedThreadPoolExecutor}}, and maybe {{org.apache.mina.filter.executor.UnorderedThreadPoolExecutor}}, as a lot of code is shared between these implementations. I did not explicitly verify these implementations though.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@mina.apache.org
For additional commands, e-mail: dev-help@mina.apache.org