summary refs log tree commit diff
path: root/synapse/federation
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-04-10 23:14:47 +0100
committerRichard van der Hoff <richard@matrix.org>2018-04-10 23:14:47 +0100
commitb3384232a031cc209fb5f0e085bc073a220448be (patch)
tree470435a5ae98030391c40551e835f45e0fa51ec0 /synapse/federation
parentMerge pull request #3061 from NotAFile/add-some-byte-strings (diff)
downloadsynapse-b3384232a031cc209fb5f0e085bc073a220448be.tar.xz
Add metrics for ResponseCache
Diffstat (limited to 'synapse/federation')
-rw-r--r--synapse/federation/federation_server.py2
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