summaryrefslogtreecommitdiff
path: root/synapse/app/_base.py
diff options
context:
space:
mode:
authorAndrej Shadura <andrewsh@debian.org>2022-03-21 19:25:18 +0100
committerAndrej Shadura <andrewsh@debian.org>2022-03-21 19:25:18 +0100
commit5d8241ddfec4abdb690c84aeb49ca47dca78fc97 (patch)
tree24a93572d20a9f3d94e323777dbd4302932e6f0f /synapse/app/_base.py
parent85ec4b0c69e373dfcc6a8b0ddee58875c84dcc7b (diff)
New upstream version 1.54.0
Diffstat (limited to 'synapse/app/_base.py')
-rw-r--r--synapse/app/_base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/app/_base.py b/synapse/app/_base.py
index 452c0c09..3e59805b 100644
--- a/synapse/app/_base.py
+++ b/synapse/app/_base.py
@@ -448,7 +448,7 @@ async def start(hs: "HomeServer") -> None:
# It is now safe to start your Synapse.
hs.start_listening()
- hs.get_datastore().db_pool.start_profiling()
+ hs.get_datastores().main.db_pool.start_profiling()
hs.get_pusherpool().start()
# Log when we start the shut down process.