Skip to content

Commit

Permalink
fix: set larger upload chunk_size to avoid upload failure from s3
Browse files Browse the repository at this point in the history
  • Loading branch information
ifedapoolarewaju committed Mar 19, 2018
1 parent 42a580b commit 439e6e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions transloadit/assembly.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def _do_tus_upload(self, assembly_url, tus_url, retries):
metadata['fieldname'] = key
metadata['filename'] = os.path.basename(self.files[key].name)
tus_client.uploader(file_stream=self.files[key],
chunk_size=5*1024*1024,
metadata=metadata,
retries=retries).upload()

Expand Down

0 comments on commit 439e6e5

Please sign in to comment.