diff options
author | Patrick Cloke <patrickc@matrix.org> | 2022-02-16 06:53:21 -0500 |
---|---|---|
committer | Patrick Cloke <patrickc@matrix.org> | 2022-02-16 06:53:21 -0500 |
commit | 7a92d68441f8182c6eac467ff2c23e71112659f0 (patch) | |
tree | b4ab287a5bbbbca282a0d1190d8d57716debf4c1 /synapse/storage | |
parent | Limit concurrent AS joins (#11996) (diff) | |
download | synapse-7a92d68441f8182c6eac467ff2c23e71112659f0.tar.xz |
Fix a typo in a comment.
Diffstat (limited to 'synapse/storage')
-rw-r--r-- | synapse/storage/databases/main/relations.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/relations.py b/synapse/storage/databases/main/relations.py index 5582029f9f..36aa1092f6 100644 --- a/synapse/storage/databases/main/relations.py +++ b/synapse/storage/databases/main/relations.py @@ -489,7 +489,7 @@ class RelationsWorkerStore(SQLBaseStore): # TODO Should this only allow m.room.message events. if isinstance(self.database_engine, PostgresEngine): # The `DISTINCT ON` clause will pick the *first* row it encounters, - # so ordering by topologica ordering + stream ordering desc will + # so ordering by topological ordering + stream ordering desc will # ensure we get the latest event in the thread. sql = """ SELECT DISTINCT ON (parent.event_id) parent.event_id, child.event_id FROM events AS child |