Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0-M2
-
None
-
None
Description
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