S3: retrieve S3_UPLOAD_PART_MIN_SIZE from env variable (#6220)

This commit is contained in:
AGILAN 2023-04-23 04:34:12 +05:30 committed by GitHub
parent 7fad08214d
commit 10508c5baa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ def get_s3_custom_endpoints() -> List[str]:
return []
S3_UPLOAD_PART_MIN_SIZE = 5242880
S3_UPLOAD_PART_MIN_SIZE = int(os.environ.get("S3_UPLOAD_PART_MIN_SIZE", "5242880"))
def get_s3_default_key_buffer_size() -> int: