Skip to content

Commit bb4fab6

Browse files
committed
EDPOPS-321-old-fix removing the threshold
1 parent 036a049 commit bb4fab6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

solvebio/resource/object.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -502,11 +502,7 @@ def upload_file(cls, local_path, remote_path, vault_full_path, **kwargs):
502502
# Get vault
503503
vault = Vault.get_by_full_path(vault_full_path, client=_client)
504504

505-
# Get MD5 and check if multipart upload is needed
506-
multipart_threshold = kwargs.get(
507-
"multipart_threshold", 64 * 1024 * 1024
508-
) # 64MB default
509-
local_md5, _ = md5sum(local_path, multipart_threshold=multipart_threshold)
505+
local_md5, _ = md5sum(local_path, None)
510506

511507
# Get a mimetype of file
512508
mime_tuple = mimetypes.guess_type(local_path)

0 commit comments

Comments
 (0)