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

[stable30] fix: Remove legacy optimization when checking encryption status #873

Merged
merged 2 commits into from
Jan 20, 2025

Conversation

artonge
Copy link
Collaborator

@artonge artonge commented Jan 20, 2025

Manual backport of #868

@artonge artonge added the 3. to review Waiting for reviews label Jan 20, 2025
@artonge artonge requested a review from come-nc January 20, 2025 10:47
@artonge artonge self-assigned this Jan 20, 2025
@artonge artonge requested a review from Altahrim as a code owner January 20, 2025 10:47
@artonge artonge changed the base branch from master to stable30 January 20, 2025 10:48
This is causing performance issues because for non encrypted nodes, we were checking all upper folders in the hierarchy.

Also, this seems unnecessary as top and sub E2EE folders are marked as encrypted, so checking for the current node or its parent folder is enough to have the answer.

Partially introduced by #316 which was an improvement at the time by introducing caching.

Signed-off-by: Louis Chemineau <[email protected]>
@artonge artonge force-pushed the artonge/backport/stable30/868 branch from 1366526 to 46603c6 Compare January 20, 2025 10:48
Signed-off-by: Louis Chemineau <[email protected]>
@artonge artonge merged commit 9126afb into stable30 Jan 20, 2025
38 checks passed
@artonge artonge deleted the artonge/backport/stable30/868 branch January 20, 2025 15:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants