diff options
author | Sean <squahtx@users.noreply.github.com> | 2021-09-01 11:55:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-01 11:55:31 +0100 |
commit | f8bf83b811cf54b4ce668bcda6043d14c4980f00 (patch) | |
tree | 5b0bc0a4bbbf8011f5cc7f02ac79ad155d13f33e /changelog.d/10232.bugfix | |
parent | Allow configuration of the oEmbed URLs. (#10714) (diff) | |
download | synapse-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/10232.bugfix')
0 files changed, 0 insertions, 0 deletions