From 814a66792b6c8f11170c0a66355cf9e1e395c7ec Mon Sep 17 00:00:00 2001 From: yanghua Date: Tue, 10 Sep 2024 17:17:37 +0800 Subject: [PATCH] Core: Add params supported by tos client --- tosfs/core.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tosfs/core.py b/tosfs/core.py index 89010c9..fab8ccc 100644 --- a/tosfs/core.py +++ b/tosfs/core.py @@ -116,7 +116,11 @@ def __init__( connection_time : int, optional The time to keep a connection open (default is 10). socket_timeout : int, optional - The socket read and write timeout time for a single request after a connection is successfully established, in seconds. The default is 30 seconds. Reference: https://requests.readthedocs.io/en/latest/user/quickstart/#timeouts (default is 30). + The socket read and write timeout time for a single request after + a connection is successfully established, in seconds. + The default is 30 seconds. + Reference: https://requests.readthedocs.io/en/latest/user/quickstart/ + #timeouts (default is 30). high_latency_log_threshold : int, optional The threshold for logging high latency operations. When greater than 0, it represents enabling high-latency logs. The unit is KB.