Skip to content

Commit

Permalink
Core: Add params supported by tos client
Browse files Browse the repository at this point in the history
  • Loading branch information
yanghua committed Sep 10, 2024
1 parent 5d76bf5 commit 814a667
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tosfs/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 814a667

Please sign in to comment.