diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-04-06 08:58:18 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-06 08:58:18 -0400 |
commit | 44bb881096d7ad4d730e2dc31e0094c0324e0970 (patch) | |
tree | e5fdb161168dba08ec4f800ed5f0d44eb8a552cd /synapse/federation/federation_client.py | |
parent | Fix reported bugbear: too broad exception assertion (#9753) (diff) | |
download | synapse-44bb881096d7ad4d730e2dc31e0094c0324e0970.tar.xz |
Add type hints to expiring cache. (#9730)
Diffstat (limited to 'synapse/federation/federation_client.py')
-rw-r--r-- | synapse/federation/federation_client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/federation_client.py b/synapse/federation/federation_client.py index afdb5bf2fa..55533d7501 100644 --- a/synapse/federation/federation_client.py +++ b/synapse/federation/federation_client.py @@ -102,7 +102,7 @@ class FederationClient(FederationBase): max_len=1000, expiry_ms=120 * 1000, reset_expiry_on_get=False, - ) + ) # type: ExpiringCache[str, EventBase] def _clear_tried_cache(self): """Clear pdu_destination_tried cache""" |