You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2021/09/04 06:12:00 UTC

[jira] [Closed] (JAMES-2192) constructor for the JMXEnabledOrderedMemoryAwareThreadPoolExecutor has hard coded keepAlive time

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

Benoit Tellier closed JAMES-2192.
---------------------------------
    Resolution: Fixed

The corresponding PR had been merged. Closing...

> constructor for the JMXEnabledOrderedMemoryAwareThreadPoolExecutor has hard coded keepAlive time
> ------------------------------------------------------------------------------------------------
>
>                 Key: JAMES-2192
>                 URL: https://issues.apache.org/jira/browse/JAMES-2192
>             Project: James Server
>          Issue Type: Improvement
>          Components: protocols
>    Affects Versions: 3.0.0
>            Reporter: Randymo
>            Priority: Major
>         Attachments: JMXEnabledOrderedMemoryAwareThreadPoolExecutor.java
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> The lone constructor for the JMXEnabledOrderedMemoryAwareThreadPoolExecutor class has a hard coded 30 seconds keepAlive time value, I want the ability to create with a parameter keepAlive time and TimeUnit
> public JMXEnabledOrderedMemoryAwareThreadPoolExecutor(int corePoolSize, long maxChannelMemorySize, long maxTotalMemorySize, long keepAliveTime, TimeUnit unit, String jmxPath, String name)
> See attachment for patch



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

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