diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-07-26 13:19:08 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-07-26 13:19:08 +0100 |
commit | bd4b25f4d07e07a2da0382cfc59a5a262883c0fc (patch) | |
tree | 8f908469fa25e1f275c11010004d0f1885983428 /synapse/federation/units.py | |
parent | comment on event_edges (diff) | |
download | synapse-bd4b25f4d07e07a2da0382cfc59a5a262883c0fc.tar.xz |
Remove some redundant joins on event_edges.room_id
We've long passed the point where it's possible to have the same event_id in different tables, so these join conditions are redundant: we can just join on event_id. event_edges is of non-trivial size, and the room_id column is wasteful, so let's stop reading from it. In future, we can stop writing to it, and then drop it.
Diffstat (limited to 'synapse/federation/units.py')
0 files changed, 0 insertions, 0 deletions