diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-10-08 13:44:58 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-10-08 13:46:52 +0100 |
commit | 495975e231bd429eb0114d9258423a5e202dcb2b (patch) | |
tree | f35d618bf6950888ffed9832dd0aa39e871da308 /changelog.d | |
parent | Merge pull request #3995 from matrix-org/rav/no_deextrem_outliers (diff) | |
download | synapse-495975e231bd429eb0114d9258423a5e202dcb2b.tar.xz |
Optimisation for filter_events_for_server
We're better off hashing just the event_id than the whole ((type, state_key), event_id) tuple - so use a dict instead of a set. Also, iteritems > items.
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/4017.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/4017.misc b/changelog.d/4017.misc new file mode 100644 index 0000000000..b1ceb06560 --- /dev/null +++ b/changelog.d/4017.misc @@ -0,0 +1 @@ +Optimisation for serving federation requests \ No newline at end of file |