summary refs log tree commit diff
path: root/synapse/storage/_base.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-12-06 13:40:02 +0000
committerErik Johnston <erik@matrix.org>2019-12-06 15:49:44 +0000
commitd537be1ebd0e7ce4c84118efa400932cc6432aa9 (patch)
tree826900b4179f93fa40e4ea3b09b3adf35295e4dc /synapse/storage/_base.py
parentMove are_all_users_on_domain checks to main data store. (diff)
downloadsynapse-d537be1ebd0e7ce4c84118efa400932cc6432aa9.tar.xz
Pass Database into the data store
Diffstat (limited to 'synapse/storage/_base.py')
-rw-r--r--synapse/storage/_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py
index f9e7f9a71e..b7637b5dc0 100644
--- a/synapse/storage/_base.py
+++ b/synapse/storage/_base.py
@@ -41,7 +41,7 @@ class SQLBaseStore(object):
         self.hs = hs
         self._clock = hs.get_clock()
         self.database_engine = hs.database_engine
-        self.db = Database(hs)  # In future this will be passed in
+        self.db = database
         self.rand = random.SystemRandom()
 
     def _invalidate_state_caches(self, room_id, members_changed):