Clean transactions based on time. Add HttpTransactionCache tests.

This commit is contained in:
Kegan Dougal 2016-11-14 11:19:24 +00:00
parent af4a1bac50
commit 3991b4cbdb
5 changed files with 99 additions and 8 deletions

View file

@ -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())