mirror of
https://github.com/element-hq/synapse.git
synced 2026-06-06 15:32:04 +00:00
0b07f02e19
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`.