diff options
author | Kegan Dougal <kegan@matrix.org> | 2016-11-14 11:19:24 +0000 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2016-11-14 11:19:24 +0000 |
commit | 3991b4cbdb5f5fbdf61ad6efa879b3881143c214 (patch) | |
tree | 7bfdac2259cf1226931ca52a101c172eda0a1133 /synapse/rest/client/v1 | |
parent | Move .observe() up to the cache to make things neater (diff) | |
download | synapse-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.py | 2 |
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()) |