Closed vttranlina closed 2 months ago
I still have not caught the where leak it.
The LifecycleUtil.dispose
already invoked after enqueue MailImpl
At the @chibenwa 's comment: https://github.com/linagora/tmail-backend/pull/970#discussion_r1521430370
Use MimeMessageInputStreamSource
The method MimeMessageInputStreamSource create(String key, InputStream in)
was not used in prod
code before CalendarEvent.
Not sure if it is stable or not
Related to CalendarEvent, do you think we should "cache" the mimeMessage (mail template) that loads from the IO template file? And reuse it for each reply (just replace mustache when using)
do you think we should "cache" the mimeMessage (mail template) that loads from the IO template file? And reuse it for each reply (just replace mustache when using)
IMO we can load it again each time, just call "dispose"
How to re-produce?
Running
com.linagora.tmail.james.MemoryLinagoraCalendarEventAcceptMethodTest
Log:Dod
No aware log