diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2018-09-14 03:09:13 +1000 |
---|---|---|
committer | Amber Brown <hawkowl@atleastfornow.net> | 2018-09-14 03:09:13 +1000 |
commit | 1c3f4d9ca53b3e3a5ef1849a8da68c6d8cf82938 (patch) | |
tree | b993336adb142ec4c213a5ee6b67229c63c61965 /synapse/http/matrixfederationclient.py | |
parent | Merge pull request #3856 from matrix-org/erikj/speed_up_purge (diff) | |
download | synapse-1c3f4d9ca53b3e3a5ef1849a8da68c6d8cf82938.tar.xz |
buffer?
Diffstat (limited to 'synapse/http/matrixfederationclient.py')
-rw-r--r-- | synapse/http/matrixfederationclient.py | 3 |
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( |