Browse code

Removed Config.multipart_num_threads

- not needed in this branch

Michal Ludvig authored on 2012/01/05 10:49:03
Showing 2 changed files
... ...
@@ -64,7 +64,6 @@ class Config(object):
64 64
     guess_mime_type = False
65 65
     mime_type = ""
66 66
     enable_multipart = True
67
-    multipart_num_threads = 4
68 67
     multipart_chunk_size_mb = 15    # MB
69 68
     # List of checks to be performed for 'sync'
70 69
     sync_checks = ['size', 'md5']   # 'weak-timestamp'
... ...
@@ -745,7 +745,6 @@ class S3(object):
745 745
         upload = MultiPartUpload(self, file, uri)
746 746
         upload_id = upload.initiate_multipart_upload()
747 747
 
748
-        num_threads = self.config.multipart_num_threads
749 748
         chunk_size = self.config.multipart_chunk_size_mb * 1024 * 1024
750 749
 
751 750
         upload.upload_all_parts()