james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luc DUZAN (JIRA)" <server-...@james.apache.org>
Subject [jira] [Commented] (JAMES-2192) constructor for the JMXEnabledOrderedMemoryAwareThreadPoolExecutor has hard coded keepAlive time
Date Thu, 19 Oct 2017 02:53:00 GMT

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

Luc DUZAN commented on JAMES-2192:
----------------------------------

Thank you Randal for opening this issue.
But considering your patch we would need a diff file.
It will be even better if you open a PR on apache james github: https://github.com/apache/james-project/.
If you open a PR please prefix your commit name and your PR name by JAMES-2192.

Best regards,

> 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: Randal Modowski
>         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
(v6.4.14#64029)

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


Mime
View raw message