Disable aggregation bundling on /sync responses (#11583)

* Disable aggregation bundling on `/sync` responses

A partial revert of #11478. This turns out to have had a significant CPU impact
on initial-sync handling. For now, let's disable it, until we find a more
efficient way of achieving this.

* Fix tests.

Co-authored-by: Patrick Cloke <patrickc@matrix.org>
This commit is contained in:
Richard van der Hoff 2021-12-20 16:33:35 +00:00 committed by GitHub
parent 92906e1b60
commit 76aa5537ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 6 deletions

1
changelog.d/11583.bugfix Normal file
View file

@ -0,0 +1 @@
Fix a performance regression in `/sync` handling, introduced in 1.49.0.