diff --git a/changelog.d/16220.misc b/changelog.d/16220.misc new file mode 100644 index 000000000000..329e9f76f6fd --- /dev/null +++ b/changelog.d/16220.misc @@ -0,0 +1 @@ +Fix typo where we ended up with multiple `WorkerLocksHandler`. diff --git a/synapse/server.py b/synapse/server.py index 7cdd3ea3c2e1..8f5e4fc140da 100644 --- a/synapse/server.py +++ b/synapse/server.py @@ -914,6 +914,7 @@ def get_common_usage_metrics_manager(self) -> CommonUsageMetricsManager: """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)