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

LoadRoomMemberTask should insert by Chunk #6394

Closed
ganfra opened this issue Jun 28, 2022 · 0 comments · Fixed by #6410
Closed

LoadRoomMemberTask should insert by Chunk #6394

ganfra opened this issue Jun 28, 2022 · 0 comments · Fixed by #6410
Assignees
Labels
A-Room Members T-Task Refactoring, enabling or disabling functionality, other engineering tasks Z-Realm

Comments

@ganfra
Copy link
Member

ganfra commented Jun 28, 2022

In big rooms, while calling LoadRoomMemberTask, it can takes a lot of time to insert in db all the RoomMember events, ending up blocking all other db transactions.
We should split the insertions by smaller chunks so we can process the other transactions between each chunk.

@ganfra ganfra added T-Other Questions, user support, anything else T-Task Refactoring, enabling or disabling functionality, other engineering tasks labels Jun 28, 2022
@ganfra ganfra added Z-Realm and removed T-Other Questions, user support, anything else labels Jun 28, 2022
@ganfra ganfra self-assigned this Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Room Members T-Task Refactoring, enabling or disabling functionality, other engineering tasks Z-Realm
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant