mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-01-27 05:27:00 -05:00
f8bf83b811
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>