summary refs log tree commit diff
path: root/synapse/server.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@matrix.org>2023-09-01 13:52:57 +0100
committerGitHub <noreply@github.com>2023-09-01 12:52:57 +0000
commit93f2fdd8d1d56a55bddc5b13fd46042ecabea178 (patch)
treea267c5b4c8167f1199531f7ae7d5ac200ba1eae6 /synapse/server.py
parentLog the details of background update failures (#16212) (diff)
downloadsynapse-93f2fdd8d1d56a55bddc5b13fd46042ecabea178.tar.xz
Fix typo where we ended up with multiple `WorkerLocksHandler` (#16220)
I don't think has caused any actual issues.

Introduced in #15891
Diffstat (limited to '')
-rw-r--r--synapse/server.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/server.py b/synapse/server.py
index fd16dacd0d..71ead524d6 100644
--- a/synapse/server.py
+++ b/synapse/server.py
@@ -913,6 +913,7 @@ class HomeServer(metaclass=abc.ABCMeta):
         """Usage metrics shared between phone home stats and the prometheus exporter."""
         return CommonUsageMetricsManager(self)
 
+    @cache_in_self
     def get_worker_locks_handler(self) -> WorkerLocksHandler:
         return WorkerLocksHandler(self)