summary refs log tree commit diff
path: root/changelog.d/10686.misc
diff options
context:
space:
mode:
authorSean <squahtx@users.noreply.github.com>2021-09-01 11:55:31 +0100
committerGitHub <noreply@github.com>2021-09-01 11:55:31 +0100
commitf8bf83b811cf54b4ce668bcda6043d14c4980f00 (patch)
tree5b0bc0a4bbbf8011f5cc7f02ac79ad155d13f33e /changelog.d/10686.misc
parentAllow configuration of the oEmbed URLs. (#10714) (diff)
downloadsynapse-f8bf83b811cf54b4ce668bcda6043d14c4980f00.tar.xz
Skip the final GC on shutdown to improve restart times (#10712)
Use `gc.freeze()` on exit to exclude all existing objects from the final GC.
In testing, this sped up shutdown by up to a few seconds.

`gc.freeze()` runs in constant time, so there is little chance of performance
regression.

Signed-off-by: Sean Quah <seanq@element.io>
Diffstat (limited to 'changelog.d/10686.misc')
0 files changed, 0 insertions, 0 deletions