mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2025-02-24 00:59:47 -05: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`.