diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2020-10-05 14:43:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-05 14:43:14 +0100 |
commit | f31f8e63198cfe46af48d788dbb294aba9155e5a (patch) | |
tree | 603352c2adac33e3348be771f54f4c8d130eb582 /changelog.d | |
parent | Update manhole documentation for async/await. (#8462) (diff) | |
download | synapse-f31f8e63198cfe46af48d788dbb294aba9155e5a.tar.xz |
Remove stream ordering from Metadata dict (#8452)
There's no need for it to be in the dict as well as the events table. Instead, we store it in a separate attribute in the EventInternalMetadata object, and populate that on load. This means that we can rely on it being correctly populated for any event which has been persited to the database.
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/8452.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/8452.misc b/changelog.d/8452.misc new file mode 100644 index 0000000000..8288d91c78 --- /dev/null +++ b/changelog.d/8452.misc @@ -0,0 +1 @@ +Remove redundant databae loads of stream_ordering for events we already have. |