mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-28 13:11:56 +00:00
![Sean](/assets/img/avatar_default.png)
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>
2 lines
58 B
Gherkin
2 lines
58 B
Gherkin
Skip final GC at shutdown to improve restart performance.
|