Move property setting from ReplicationLayer to FederationBase

This commit is contained in:
Erik Johnston 2018-03-12 14:07:39 +00:00
parent 631a73f7ef
commit e05bf34117
4 changed files with 13 additions and 22 deletions

View file

@ -58,6 +58,7 @@ class FederationClient(FederationBase):
self._clear_tried_cache, 60 * 1000,
)
self.state = hs.get_state_handler()
self.transport_layer = hs.get_federation_transport_client()
def _clear_tried_cache(self):
"""Clear pdu_destination_tried cache"""