Skip to content

Conversation

@SystemKeeper
Copy link
Contributor

@SystemKeeper SystemKeeper commented Aug 1, 2025

Summary

Currently all keys are always loaded from the file system, this is especially noticeable when push notifications are created. Since the keys are (usually) only generated once and do not change over time, we can also cache them and therefore prevent filesystem access.

Checklist

@SystemKeeper SystemKeeper force-pushed the feat/noid/cache-user-keys branch 2 times, most recently from 7e15dee to 4870486 Compare August 3, 2025 16:14
@SystemKeeper
Copy link
Contributor Author

/backport to stable31

@SystemKeeper SystemKeeper marked this pull request as ready for review August 3, 2025 16:26
@SystemKeeper SystemKeeper requested a review from a team as a code owner August 3, 2025 16:26
@SystemKeeper SystemKeeper requested review from ArtificialOwl, CarlSchwan and sorbaugh and removed request for a team August 3, 2025 16:26
Copy link
Member

@nickvergessen nickvergessen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As discussed, totally makes sense coming from the blackfire profile of the starting a call

@SystemKeeper SystemKeeper force-pushed the feat/noid/cache-user-keys branch from 4870486 to e4aeea5 Compare August 5, 2025 14:41
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
@SystemKeeper SystemKeeper force-pushed the feat/noid/cache-user-keys branch from e4aeea5 to 520d8be Compare August 5, 2025 14:42
@nickvergessen nickvergessen merged commit db8dd9f into master Aug 5, 2025
202 of 208 checks passed
@nickvergessen nickvergessen deleted the feat/noid/cache-user-keys branch August 5, 2025 16:43
@backportbot backportbot bot mentioned this pull request Aug 5, 2025
2 tasks
@skjnldsv skjnldsv mentioned this pull request Aug 19, 2025
@skjnldsv skjnldsv modified the milestones: Nextcloud 32, Nextcloud 33 Sep 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants