From 804babef7499bc196173f11d6b949fe18c97ce00 Mon Sep 17 00:00:00 2001 From: vinoyang Date: Thu, 26 Sep 2024 17:47:20 +0800 Subject: [PATCH] Setting tos configs to tolerance network issue (#142) * Setting tos configs to tolerance network issue --- tosfs/tests/conftest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tosfs/tests/conftest.py b/tosfs/tests/conftest.py index 934ec1f..549e550 100644 --- a/tosfs/tests/conftest.py +++ b/tosfs/tests/conftest.py @@ -39,8 +39,8 @@ def tosfs(_tosfs_env_prepare: None) -> TosFileSystem: region=os.environ.get("TOS_REGION"), credentials_provider=EnvCredentialsProvider(), max_retry_num=1000, - connection_time=30, - socket_timeout=180, + connection_time=300, + socket_timeout=300, multipart_size=4 << 20, multipart_threshold=4 << 20, )