commit transaction before closing

pull/14/head
Neil Johnson 6 years ago
parent 07126e43a4
commit 663d9db8e7
  1. 1
      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):

Loading…
Cancel
Save