summary refs log tree commit diff
path: root/synapse/replication/http
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2018-04-12 12:59:36 +0100
committerGitHub <noreply@github.com>2018-04-12 12:59:36 +0100
commitd5c74b9f6c68cc49eb689c76d38c0903d48219e2 (patch)
tree1f1abc9fd8982b24c056ac92d68617297e3b263b /synapse/replication/http
parentMerge pull request #3090 from matrix-org/erikj/processed_event_lag (diff)
parentAdd metrics for ResponseCache (diff)
downloadsynapse-d5c74b9f6c68cc49eb689c76d38c0903d48219e2.tar.xz
Merge pull request #3092 from matrix-org/rav/response_cache_metrics
Add metrics for ResponseCache
Diffstat (limited to 'synapse/replication/http')
-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)