diff options
| author | Erik Johnston <erikj@element.io> | 2024-11-19 15:03:32 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-19 15:03:32 +0000 |
| commit | 1092a35a2a3c2ffe3d7d712707bd06deaecfde52 (patch) | |
| tree | 9127158a3a543bdcb02642c2fe389db0d61d5e4a /synapse/_scripts | |
| parent | Create one-off scheduled task to delete old OTKs (#17934) (diff) | |
| download | synapse-1092a35a2a3c2ffe3d7d712707bd06deaecfde52.tar.xz | |
Speed up slow initial sliding syncs on large servers (#17946)
This was due to a missing index, which meant that deleting previous connections associated with the device and `conn_id` took a long time.
Diffstat (limited to 'synapse/_scripts')
| -rwxr-xr-x | synapse/_scripts/synapse_port_db.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/_scripts/synapse_port_db.py b/synapse/_scripts/synapse_port_db.py |
