summary refs log tree commit diff
path: root/synapse/rest/client/v1
diff options
context:
space:
mode:
authorKegan Dougal <kegan@matrix.org>2016-11-14 11:19:24 +0000
committerKegan Dougal <kegan@matrix.org>2016-11-14 11:19:24 +0000
commit3991b4cbdb5f5fbdf61ad6efa879b3881143c214 (patch)
tree7bfdac2259cf1226931ca52a101c172eda0a1133 /synapse/rest/client/v1
parentMove .observe() up to the cache to make things neater (diff)
downloadsynapse-3991b4cbdb5f5fbdf61ad6efa879b3881143c214.tar.xz
Clean transactions based on time. Add HttpTransactionCache tests.
Diffstat (limited to 'synapse/rest/client/v1')
-rw-r--r--synapse/rest/client/v1/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/rest/client/v1/base.py b/synapse/rest/client/v1/base.py
index 07ff5b218c..c7aa0bbf59 100644
--- a/synapse/rest/client/v1/base.py
+++ b/synapse/rest/client/v1/base.py
@@ -60,4 +60,4 @@ class ClientV1RestServlet(RestServlet):
         self.hs = hs
         self.builder_factory = hs.get_event_builder_factory()
         self.auth = hs.get_v1auth()
-        self.txns = HttpTransactionCache()
+        self.txns = HttpTransactionCache(hs.get_clock())