mirror of
https://mau.dev/maunium/synapse.git
synced 2024-12-13 22:43:50 +01:00
commit transaction before closing
This commit is contained in:
parent
07126e43a4
commit
663d9db8e7
1 changed files with 1 additions and 0 deletions
|
@ -207,6 +207,7 @@ class HomeServer(object):
|
||||||
logger.info("Setting up.")
|
logger.info("Setting up.")
|
||||||
with self.get_db_conn() as conn:
|
with self.get_db_conn() as conn:
|
||||||
self.datastore = self.DATASTORE_CLASS(conn, self)
|
self.datastore = self.DATASTORE_CLASS(conn, self)
|
||||||
|
conn.commit()
|
||||||
logger.info("Finished setting up.")
|
logger.info("Finished setting up.")
|
||||||
|
|
||||||
def get_reactor(self):
|
def get_reactor(self):
|
||||||
|
|
Loading…
Reference in a new issue