Avoid creating events with huge numbers of prev_events
In most cases, we limit the number of prev_events for a given event to 10 events. This fixes a particular code path which created events with huge numbers of prev_events.
Showing
- synapse/handlers/message.py 44 additions, 34 deletionssynapse/handlers/message.py
- synapse/handlers/room_member.py 9 additions, 4 deletionssynapse/handlers/room_member.py
- synapse/storage/event_federation.py 41 additions, 16 deletionssynapse/storage/event_federation.py
- tests/storage/test_event_federation.py 68 additions, 0 deletionstests/storage/test_event_federation.py
Loading
Please register or sign in to comment