summary refs log tree commit diff
path: root/synapse/http
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2018-09-14 03:09:13 +1000
committerAmber Brown <hawkowl@atleastfornow.net>2018-09-14 03:09:13 +1000
commit1c3f4d9ca53b3e3a5ef1849a8da68c6d8cf82938 (patch)
treeb993336adb142ec4c213a5ee6b67229c63c61965 /synapse/http
parentMerge pull request #3856 from matrix-org/erikj/speed_up_purge (diff)
downloadsynapse-1c3f4d9ca53b3e3a5ef1849a8da68c6d8cf82938.tar.xz
buffer?
Diffstat (limited to 'synapse/http')
-rw-r--r--synapse/http/matrixfederationclient.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py
index c49dbacd93..cdbe27eb37 100644
--- a/synapse/http/matrixfederationclient.py
+++ b/synapse/http/matrixfederationclient.py
@@ -221,7 +221,8 @@ class MatrixFederationHttpClient(object):
                         headers=Headers(headers_dict),
                         data=data,
                         agent=self.agent,
-                        reactor=self.hs.get_reactor()
+                        reactor=self.hs.get_reactor(),
+                        unbuffered=True
                     )
                     request_deferred.addTimeout(_sec_timeout, self.hs.get_reactor())
                     response = yield make_deferred_yieldable(