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
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 committed Sep 1, 2023
1 parent 6525fd6 commit 3d4533b
Showing 1 changed file with 1 addition and 0 deletions.
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 3d4533b

Please sign in to comment.