-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 10.10-HF65, 2021.25
-
Component/s: IMAP Connector
-
Release Notes Summary:The property "org.nuxeo.mail.message.limit" can be used to limit the number of mails fetched per mailbox.
-
Tags:
-
Upgrade notes:
-
Team:PLATFORM
-
Sprint:nxplatform #68
-
Story Points:2
The MailEventListener is fetching all the MailFolder documents to check new mails in the same transaction.
This could be an issue if there is a huge number of MailFolder or a huge number of mails in a mailbox as we can exceed the transaction.
In order to fix this several things needs to be improve:
- add a limit to the number of mail that is fetched by mailbox
- commit/start the transaction after each mailbox