Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Threading for replies and forwards. #747

Open
arafat-khan-mindruby opened this issue Oct 25, 2024 · 2 comments
Open

Threading for replies and forwards. #747

arafat-khan-mindruby opened this issue Oct 25, 2024 · 2 comments

Comments

@arafat-khan-mindruby
Copy link

arafat-khan-mindruby commented Oct 25, 2024

I want to implement email threading for replies and forwards, but including the original message in each thread increases the content size, causing delays in sending when the body becomes too large. How can I optimize this to improve sending speed?

following lines in the file "lib/message-handler.js" taking some time (screenshot attached below)

  1. "this.indexer.storeNodeBodies(maildata, mimeTree, err => {"
    Screenshot from 2024-10-28 12-03-15

  2. all the queries which are using for insert or update data is also taking some time if the body content is large.
    Screenshot from 2024-10-28 12-04-24

Copy link
Contributor

This issue is stale because it has been open 45 days with no activity. Remove stale label or comment or this will be closed in 15 days.

@louis-lau
Copy link
Member

Sorry that this was never replied to. But very large messages taking longer to store kind of makes sense? I'm not entirely sure what your expectation is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants