diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2018-08-30 10:47:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-30 10:47:27 +0100 |
commit | 475253a88e09b505eb1a5977985a9e9e93878b26 (patch) | |
tree | 0798039957eecc0776489a28484021998b88e954 /synapse/app/event_creator.py | |
parent | Merge pull request #3768 from krombel/fix_3445 (diff) | |
parent | Fix up tests (diff) | |
download | synapse-475253a88e09b505eb1a5977985a9e9e93878b26.tar.xz |
Merge pull request #3764 from matrix-org/rav/close_db_conn_after_init
Make sure that we close db connections opened during init
Diffstat (limited to 'synapse/app/event_creator.py')
-rw-r--r-- | synapse/app/event_creator.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/synapse/app/event_creator.py b/synapse/app/event_creator.py index a34c89fa99..f98e456ea0 100644 --- a/synapse/app/event_creator.py +++ b/synapse/app/event_creator.py @@ -90,10 +90,7 @@ class EventCreatorSlavedStore( class EventCreatorServer(HomeServer): - def setup(self): - logger.info("Setting up.") - self.datastore = EventCreatorSlavedStore(self.get_db_conn(), self) - logger.info("Finished setting up.") + DATASTORE_CLASS = EventCreatorSlavedStore def _listen_http(self, listener_config): port = listener_config["port"] |