From a1c99ec54890c788105a92850e4082fccb1bd710 Mon Sep 17 00:00:00 2001 From: machichima Date: Wed, 8 Jan 2025 23:17:03 +0800 Subject: [PATCH] fix: use defined DEFAULT_BLOCK_SIZE Signed-off-by: machichima --- flytekit/core/obstore_filesystem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flytekit/core/obstore_filesystem.py b/flytekit/core/obstore_filesystem.py index 26ee3dec58..5d5fb8d77a 100644 --- a/flytekit/core/obstore_filesystem.py +++ b/flytekit/core/obstore_filesystem.py @@ -18,7 +18,7 @@ class ObstoreS3FileSystem(AsyncFsspecStore): connect_timeout = 5 retries = 5 read_timeout = 15 - default_block_size = 5 * 2**20 + default_block_size = DEFAULT_BLOCK_SIZE protocol = ("s3", "s3a") _extra_tokenize_attributes = ("default_block_size",)