anonymousland-synapse/synapse/app
Sean f8bf83b811
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>
2021-09-01 11:55:31 +01:00
..
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
_base.py Skip the final GC on shutdown to improve restart times (#10712) 2021-09-01 11:55:31 +01:00
admin_cmd.py Remove the unused public_room_list_stream (#10565) 2021-08-17 14:02:50 +01:00
appservice.py Remove shebang line from module files (#10415) 2021-07-29 21:34:14 +01:00
client_reader.py Remove shebang line from module files (#10415) 2021-07-29 21:34:14 +01:00
event_creator.py Remove shebang line from module files (#10415) 2021-07-29 21:34:14 +01:00
federation_reader.py Remove shebang line from module files (#10415) 2021-07-29 21:34:14 +01:00
federation_sender.py Remove shebang line from module files (#10415) 2021-07-29 21:34:14 +01:00
frontend_proxy.py Remove shebang line from module files (#10415) 2021-07-29 21:34:14 +01:00
generic_worker.py Persist room hierarchy pagination sessions to the database. (#10613) 2021-08-24 08:14:03 -04:00
homeserver.py Remove shebang line from module files (#10415) 2021-07-29 21:34:14 +01:00
media_repository.py Remove shebang line from module files (#10415) 2021-07-29 21:34:14 +01:00
phone_stats_home.py Fix typo that causes R30v2 to actually be old R30 (#10486) 2021-07-27 15:25:39 +01:00
pusher.py Remove shebang line from module files (#10415) 2021-07-29 21:34:14 +01:00
synchrotron.py Remove shebang line from module files (#10415) 2021-07-29 21:34:14 +01:00
user_dir.py Remove shebang line from module files (#10415) 2021-07-29 21:34:14 +01:00