summary refs log tree commit diff
path: root/synapse/replication/http/send_event.py
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/replication/http/send_event.py
parentMerge pull request #3061 from NotAFile/add-some-byte-strings (diff)
downloadsynapse-b3384232a031cc209fb5f0e085bc073a220448be.tar.xz
Add metrics for ResponseCache
Diffstat (limited to 'synapse/replication/http/send_event.py')
-rw-r--r--synapse/replication/http/send_event.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/replication/http/send_event.py b/synapse/replication/http/send_event.py
index bbe2f967b7..c6a6551d24 100644
--- a/synapse/replication/http/send_event.py
+++ b/synapse/replication/http/send_event.py
@@ -115,7 +115,7 @@ class ReplicationSendEventRestServlet(RestServlet):
         self.clock = hs.get_clock()
 
         # The responses are tiny, so we may as well cache them for a while
-        self.response_cache = ResponseCache(hs, timeout_ms=30 * 60 * 1000)
+        self.response_cache = ResponseCache(hs, "send_event", timeout_ms=30 * 60 * 1000)
 
     def on_PUT(self, request, event_id):
         result = self.response_cache.get(event_id)