mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-01-25 20:35:57 -05: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`.