mirror of
https://github.com/element-hq/synapse.git
synced 2026-07-21 11:11:58 +00:00
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`.