diff options
author | Nick Mills-Barrett <nick@beeper.com> | 2022-07-15 10:36:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-15 09:36:56 +0100 |
commit | 21eeacc99551febcddcef21db96a2bd82166fc7e (patch) | |
tree | 10cc25c6bd1c20ac1c206ee46e343aa4487cf5ce /changelog.d/13251.misc | |
parent | Rip out auth-event reconciliation code (#12943) (diff) | |
download | synapse-21eeacc99551febcddcef21db96a2bd82166fc7e.tar.xz |
Federation Sender & Appservice Pusher Stream Optimisations (#13251)
* Replace `get_new_events_for_appservice` with `get_all_new_events_stream` The functions were near identical and this brings the AS worker closer to the way federation senders work which can allow for multiple workers to handle AS traffic. * Pull received TS alongside events when processing the stream This avoids an extra query -per event- when both federation sender and appservice pusher process events.
Diffstat (limited to 'changelog.d/13251.misc')
-rw-r--r-- | changelog.d/13251.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/13251.misc b/changelog.d/13251.misc new file mode 100644 index 0000000000..526369e403 --- /dev/null +++ b/changelog.d/13251.misc @@ -0,0 +1 @@ +Optimise federation sender and appservice pusher event stream processing queries. Contributed by Nick @ Beeper (@fizzadar). |