summary refs log tree commit diff
path: root/synapse/server.py
diff options
context:
space:
mode:
authorNeil Johnson <neil@matrix.org>2018-10-24 17:17:30 +0100
committerNeil Johnson <neil@matrix.org>2018-10-24 17:17:30 +0100
commit663d9db8e7892b79a927de70ec9add64312827d5 (patch)
tree9d4d17bd28b93e7cab0cc623b99ea3a898cf46b4 /synapse/server.py
parentMerge branch 'develop' of github.com:matrix-org/synapse into neilj/fix_mau_init (diff)
downloadsynapse-663d9db8e7892b79a927de70ec9add64312827d5.tar.xz
commit transaction before closing
Diffstat (limited to '')
-rw-r--r--synapse/server.py1
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):