diff options
author | Kegan Dougal <kegan@matrix.org> | 2017-05-05 10:52:46 +0100 |
---|---|---|
committer | Kegan Dougal <kegan@matrix.org> | 2017-05-05 10:52:46 +0100 |
commit | c2ddd773bc23dfc9fa2f20d39547bf6a4bd7d0f1 (patch) | |
tree | 627470b6f03c98131b885144664726f3db871dc1 /synapse/http | |
parent | Rewrite SimpleHttpClient.request to include timeouts (diff) | |
download | synapse-c2ddd773bc23dfc9fa2f20d39547bf6a4bd7d0f1.tar.xz |
Include the clock
Diffstat (limited to 'synapse/http')
-rw-r--r-- | synapse/http/client.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/http/client.py b/synapse/http/client.py index 68bd06abd9..58f12cf8ee 100644 --- a/synapse/http/client.py +++ b/synapse/http/client.py @@ -72,6 +72,7 @@ class SimpleHttpClient(object): contextFactory=hs.get_http_client_context_factory() ) self.user_agent = hs.version_string + self.clock = hs.get_clock() if hs.config.user_agent_suffix: self.user_agent = "%s %s" % (self.user_agent, hs.config.user_agent_suffix,) |