Support sending 4GB files (#3891)

This commit is contained in:
Devesh Pal
2022-07-28 16:00:46 +05:30
committed by GitHub
parent db3faedbfc
commit 362d06654f

View File

@@ -1341,11 +1341,8 @@ def get_appropriated_part_size(file_size):
return 128
if file_size <= 786432000: # 750MB
return 256
if file_size <= 2097152000: # 2000MB
return 512
raise ValueError('File size too large')
def encode_waveform(waveform):
"""