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
_base.py
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
user_dir.py Make sure that we close db connections opened during init 2018-08-28 13:39:49 +01:00