mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-05 06:08:58 +01:00
Fix typo where we ended up with multiple WorkerLocksHandler
(#16220)
I don't think has caused any actual issues. Introduced in #15891
This commit is contained in:
parent
8c56e18e47
commit
b85c3485b1
2 changed files with 2 additions and 0 deletions
1
changelog.d/16220.misc
Normal file
1
changelog.d/16220.misc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Fix typo where we ended up with multiple `WorkerLocksHandler`.
|
|
@ -914,6 +914,7 @@ class HomeServer(metaclass=abc.ABCMeta):
|
||||||
"""Usage metrics shared between phone home stats and the prometheus exporter."""
|
"""Usage metrics shared between phone home stats and the prometheus exporter."""
|
||||||
return CommonUsageMetricsManager(self)
|
return CommonUsageMetricsManager(self)
|
||||||
|
|
||||||
|
@cache_in_self
|
||||||
def get_worker_locks_handler(self) -> WorkerLocksHandler:
|
def get_worker_locks_handler(self) -> WorkerLocksHandler:
|
||||||
return WorkerLocksHandler(self)
|
return WorkerLocksHandler(self)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue