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 Sep 1, 2023
1 parent 6525fd6 commit 93f2fdd
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 @@ -913,6 +913,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 93f2fdd

Please sign in to comment.