diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-04-10 23:14:47 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-04-10 23:14:47 +0100 |
commit | b3384232a031cc209fb5f0e085bc073a220448be (patch) | |
tree | 470435a5ae98030391c40551e835f45e0fa51ec0 /synapse/federation/federation_server.py | |
parent | Merge pull request #3061 from NotAFile/add-some-byte-strings (diff) | |
download | synapse-b3384232a031cc209fb5f0e085bc073a220448be.tar.xz |
Add metrics for ResponseCache
Diffstat (limited to 'synapse/federation/federation_server.py')
-rw-r--r-- | synapse/federation/federation_server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/federation_server.py b/synapse/federation/federation_server.py index bea7fd0b71..e4ce037acf 100644 --- a/synapse/federation/federation_server.py +++ b/synapse/federation/federation_server.py @@ -65,7 +65,7 @@ class FederationServer(FederationBase): # We cache responses to state queries, as they take a while and often # come in waves. - self._state_resp_cache = ResponseCache(hs, timeout_ms=30000) + self._state_resp_cache = ResponseCache(hs, "state_resp", timeout_ms=30000) @defer.inlineCallbacks @log_function |