diff options
author | Erik Johnston <erik@matrix.org> | 2021-01-14 16:47:21 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-14 16:47:21 +0000 |
commit | 631dd06f2c7e9224602877d5bfcbca7695c4227e (patch) | |
tree | 56368521eaeadddf034f445391b54bbbe5a97e67 /synapse/storage/databases | |
parent | Add background update for add chain cover index (#9029) (diff) | |
download | synapse-631dd06f2c7e9224602877d5bfcbca7695c4227e.tar.xz |
Fix get destinations to catch up query. (#9114)
t was doing a sequential scan on `destination_rooms`, which took minutes.
Diffstat (limited to 'synapse/storage/databases')
-rw-r--r-- | synapse/storage/databases/main/transactions.py | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/synapse/storage/databases/main/transactions.py b/synapse/storage/databases/main/transactions.py |