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

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

This is the behaviour of James 3.7.0-SNAPSHOT

> JamesMailSpooler should use different threadpools for dequeue and processing
> ----------------------------------------------------------------------------
>
>                 Key: JAMES-1283
>                 URL: https://issues.apache.org/jira/browse/JAMES-1283
>             Project: James Server
>          Issue Type: Task
>          Components: SpoolManager & Processors
>    Affects Versions: 3.0-M2
>            Reporter: Norman Maurer
>            Priority: Major
>
> At the moment we start X threads which concurrent consume mails from the 
> MailQueue. So if you have for example have 100 threads and only one is needed 
> you waste resources. We should better use X threads to dequeue and Y threads 
> to process. So we could for example use 2 threads which dequeue and pass the 
> mails to worker thread pool that does the mail processing. This should be 
> more efficient



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to