summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorErik Johnston <erikj@matrix.org>2023-09-01 13:52:57 +0100
committerDavid Robertson <davidr@element.io>2023-09-01 16:03:31 +0100
commitb85c3485b15900240a61fb5f2dca606adc1ff268 (patch)
treef6bbe4e9991b5c9d1ddd314d8fde05ad4f46b50f /synapse
parent1.91.0 (diff)
downloadsynapse-b85c3485b15900240a61fb5f2dca606adc1ff268.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 'synapse')
-rw-r--r--synapse/server.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/server.py b/synapse/server.py
index 7cdd3ea3c2..8f5e4fc140 100644
--- a/synapse/server.py
+++ b/synapse/server.py
@@ -914,6 +914,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)