mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-07-29 12:42:46 +00:00
Reduce the number of allocations made by localRoomMembers
when consuming stream events for push notifications (#2324)
This commit is contained in:
parent
f7109de500
commit
16e2d243fc
3 changed files with 4 additions and 1 deletions
|
@ -184,6 +184,7 @@ func (s *OutputStreamEventConsumer) localRoomMembers(ctx context.Context, roomID
|
|||
req := &rsapi.QueryMembershipsForRoomRequest{
|
||||
RoomID: roomID,
|
||||
JoinedOnly: true,
|
||||
LocalOnly: true,
|
||||
}
|
||||
var res rsapi.QueryMembershipsForRoomResponse
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue