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

[desktop] De-init node-mimimi logger on quit instead of on before-quit #8641

Open
wants to merge 6 commits into
base: dev-mail
Choose a base branch
from

Conversation

hrb-hub
Copy link
Contributor

@hrb-hub hrb-hub commented Mar 4, 2025

before-quit might be emitted multiple times such as on an update. This causes the logger to panic due to being de-inited twice.

Close #8619

wrdhub and others added 6 commits February 28, 2025 10:43
Adds TutanotaModelV84

Close #8373

Co-authored-by: Willow <[email protected]>
Co-authored-by: bir <[email protected]>
Re-implement downloading of mails during search indexing:
 - download mail details instead of mails from mail bags to ensure
 correctness of date range
 - always download MailSetEntry's in full chunks to avoid cache-related
 issues

Close #8564

Co-authored-by: bir <[email protected]>
Co-authored-by: wrd <[email protected]>
Using direct array accesses makes the code harder to understand.

Change it to use listIdPart/elementIdPart so the intention is clearer.
Instead of indexing day-by-day, we can process after we've reached some
threshold. We should still iterate by day, but we should index multiple
days at once.

This reduces the number of requests by over 80% on some mailboxes, and
it may cut loading time in half in such cases.

Closes #8599

Co-authored-by: bir <[email protected]>
before-quit might be emitted multiple times such as on an update.
This causes the logger to panic due to being de-inited twice.

Close #8619

Co-authored-by: paw <[email protected]>
@hrb-hub hrb-hub linked an issue Mar 4, 2025 that may be closed by this pull request
2 tasks
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

Successfully merging this pull request may close these issues.

Tuta Mail Does Not Quit Correctly but Crashes and Relaunches
4 participants