Ver código fonte

Fix typo where we ended up with multiple `WorkerLocksHandler` (#16220)

I don't think has caused any actual issues.

Introduced in #15891
tags/v1.91.1
Erik Johnston 8 meses atrás
committed by David Robertson
pai
commit
b85c3485b1
Nenhuma chave conhecida encontrada para esta assinatura no banco de dados ID da chave GPG: 903ECE108A39DEDD
2 arquivos alterados com 2 adições e 0 exclusões
  1. +1
    -0
      changelog.d/16220.misc
  2. +1
    -0
      synapse/server.py

+ 1
- 0
changelog.d/16220.misc Ver arquivo

@@ -0,0 +1 @@
Fix typo where we ended up with multiple `WorkerLocksHandler`.

+ 1
- 0
synapse/server.py Ver arquivo

@@ -914,6 +914,7 @@ class HomeServer(metaclass=abc.ABCMeta):
"""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)



Carregando…
Cancelar
Salvar