mirror of
https://github.com/matrix-org/synapse-s3-storage-provider.git
synced 2024-10-23 07:29:40 +00:00
Fix incorrect arguments
This commit is contained in:
parent
507a6d7e42
commit
ba5d7856d1
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ class _S3DownloadThread(threading.Thread):
|
||||||
|
|
||||||
producer = _S3Responder()
|
producer = _S3Responder()
|
||||||
reactor.callFromThread(self.deferred.callback, producer)
|
reactor.callFromThread(self.deferred.callback, producer)
|
||||||
_stream_to_producer(self.deferred, resp["Body"], timeout=90.)
|
_stream_to_producer(reactor, producer, resp["Body"], timeout=90.)
|
||||||
|
|
||||||
|
|
||||||
def _stream_to_producer(reactor, producer, body, status=None, timeout=None):
|
def _stream_to_producer(reactor, producer, body, status=None, timeout=None):
|
||||||
|
|
Loading…
Reference in a new issue