diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2023-11-03 07:30:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-03 07:30:31 -0400 |
commit | 92828a7f958b2cb1925e2a64ed08c2efb6293787 (patch) | |
tree | c942454d63d072476ce62c10d26080ce4b691d50 /changelog.d | |
parent | Use simple_select_many_txn in event persistance code. (#16585) (diff) | |
download | synapse-92828a7f958b2cb1925e2a64ed08c2efb6293787.tar.xz |
Simplify event persistence code (#16584)
The event persistence code used to handle multiple rooms at a time, but was simplified to only ever be called with a single room at a time (different rooms are now handled in parallel). The code is still generic to multiple rooms causing a lot of work that is unnecessary (e.g. unnecessary loops, and partitioning data by room). This strips out the ability to handle multiple rooms at once, greatly simplifying the code.
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/16584.misc | 1 | ||||
-rw-r--r-- | changelog.d/16586.misc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/changelog.d/16584.misc b/changelog.d/16584.misc new file mode 100644 index 0000000000..beec8f2301 --- /dev/null +++ b/changelog.d/16584.misc @@ -0,0 +1 @@ +Simplify persistance code to be per-room. diff --git a/changelog.d/16586.misc b/changelog.d/16586.misc new file mode 100644 index 0000000000..f02c4a2060 --- /dev/null +++ b/changelog.d/16586.misc @@ -0,0 +1 @@ +Avoid updating the stream cache unnecessarily. |