Skip to content

Commit

Permalink
Removed Config.multipart_num_threads
Browse files Browse the repository at this point in the history
- not needed in this branch
  • Loading branch information
mludvig committed Jan 5, 2012
1 parent a184e0d commit 82114c5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion S3/Config.py
Expand Up @@ -64,7 +64,6 @@ class Config(object):
guess_mime_type = False
mime_type = ""
enable_multipart = True
multipart_num_threads = 4
multipart_chunk_size_mb = 15 # MB
# List of checks to be performed for 'sync'
sync_checks = ['size', 'md5'] # 'weak-timestamp'
Expand Down
1 change: 0 additions & 1 deletion S3/S3.py
Expand Up @@ -745,7 +745,6 @@ def send_file_multipart(self, file, headers, uri, size):
upload = MultiPartUpload(self, file, uri)
upload_id = upload.initiate_multipart_upload()

num_threads = self.config.multipart_num_threads
chunk_size = self.config.multipart_chunk_size_mb * 1024 * 1024

upload.upload_all_parts()
Expand Down

0 comments on commit 82114c5

Please sign in to comment.