MatrixSynapse/synapse/app
Richard van der Hoff 0b07f02e19 Make sure that we close db connections opened during init
We should explicitly close any db connections we open, because failing to do so
can block other transactions as per
https://github.com/matrix-org/synapse/issues/3682.

Let's also try to factor out some of the boilerplate by having server classes
define their datastore class rather than duplicating the whole of `setup`.
2018-08-28 13:39:49 +01:00
..
__init__.py run isort 2018-07-09 16:09:20 +10:00
_base.py Integrate presence from hotfixes (#3694) 2018-08-18 01:08:45 +10:00
appservice.py Make sure that we close db connections opened during init 2018-08-28 13:39:49 +01:00
client_reader.py Make sure that we close db connections opened during init 2018-08-28 13:39:49 +01:00
event_creator.py Make sure that we close db connections opened during init 2018-08-28 13:39:49 +01:00
federation_reader.py Make sure that we close db connections opened during init 2018-08-28 13:39:49 +01:00
federation_sender.py Make sure that we close db connections opened during init 2018-08-28 13:39:49 +01:00
frontend_proxy.py Make sure that we close db connections opened during init 2018-08-28 13:39:49 +01:00
homeserver.py Make sure that we close db connections opened during init 2018-08-28 13:39:49 +01:00
media_repository.py Make sure that we close db connections opened during init 2018-08-28 13:39:49 +01:00
pusher.py Make sure that we close db connections opened during init 2018-08-28 13:39:49 +01:00
synchrotron.py Make sure that we close db connections opened during init 2018-08-28 13:39:49 +01:00
synctl.py Make the rest of the .iterwhatever go away (#3562) 2018-07-21 15:47:18 +10:00
user_dir.py Make sure that we close db connections opened during init 2018-08-28 13:39:49 +01:00