Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix typo where we ended up with multiple WorkerLocksHandler (#16220)
Browse files Browse the repository at this point in the history
I don't think has caused any actual issues.

Introduced in #15891
  • Loading branch information
erikjohnston authored and David Robertson committed Sep 1, 2023
1 parent 8c56e18 commit b85c348
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions changelog.d/16220.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix typo where we ended up with multiple `WorkerLocksHandler`.
1 change: 1 addition & 0 deletions synapse/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit b85c348

Please sign in to comment.