Added hint that parallelization didn't work

This commit is contained in:
dankito 2024-11-21 18:36:27 +01:00
parent 2b3c3fa5fa
commit 189b1b37ff
1 changed files with 1 additions and 0 deletions

View File

@ -89,6 +89,7 @@ class MailReader(
return emptyList()
}
// tried to parallelize reading messages by reading them on multiple thread but that had no effect on process duration (don't know why)
private fun listAllMessagesWithEInvoiceInFolder(folder: Folder): List<MailWithInvoice> = folder.messages.mapNotNull { message ->
try {
if (message.isMimeType("multipart/*")) {