Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Cache room membership lookups in _get_joined_users_from_context#6159

Merged
erikjohnston merged 8 commits intodevelopfrom
erikj/cache_memberships
Oct 7, 2019
Merged

Cache room membership lookups in _get_joined_users_from_context#6159
erikjohnston merged 8 commits intodevelopfrom
erikj/cache_memberships

Conversation

@erikjohnston
Copy link
Copy Markdown
Member

Hopefully this will allow us to do less DB work when the _get_joined_users_from_context working set is too large.

@erikjohnston erikjohnston requested a review from a team October 3, 2019 16:12
Copy link
Copy Markdown
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

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

lgtm otherwise

Comment thread synapse/storage/roommember.py Outdated
@erikjohnston erikjohnston merged commit 86f4705 into develop Oct 7, 2019
@erikjohnston erikjohnston deleted the erikj/cache_memberships branch January 9, 2020 15:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants