diff options
author | Neil Johnson <neil@matrix.org> | 2018-10-24 17:17:30 +0100 |
---|---|---|
committer | Neil Johnson <neil@matrix.org> | 2018-10-24 17:17:30 +0100 |
commit | 663d9db8e7892b79a927de70ec9add64312827d5 (patch) | |
tree | 9d4d17bd28b93e7cab0cc623b99ea3a898cf46b4 /synapse | |
parent | Merge branch 'develop' of github.com:matrix-org/synapse into neilj/fix_mau_init (diff) | |
download | synapse-663d9db8e7892b79a927de70ec9add64312827d5.tar.xz |
commit transaction before closing
Diffstat (limited to '')
-rw-r--r-- | synapse/server.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/server.py b/synapse/server.py index 3e9d3d8256..cf6b872cbd 100644 --- a/synapse/server.py +++ b/synapse/server.py @@ -207,6 +207,7 @@ class HomeServer(object): logger.info("Setting up.") with self.get_db_conn() as conn: self.datastore = self.DATASTORE_CLASS(conn, self) + conn.commit() logger.info("Finished setting up.") def get_reactor(self): |