Clearfy the unit of timeout settings in README.md

This commit is contained in:
NI
2019-08-12 23:53:32 +08:00
parent f3336d61a0
commit 66446bedde

View File

@@ -117,7 +117,7 @@ Here is the options that can be used in a configuration file and what it for:
// Remote dial timeout. This limits how long of time the backend can spend // Remote dial timeout. This limits how long of time the backend can spend
// to connect to a remote host. The max timeout will be determined by // to connect to a remote host. The max timeout will be determined by
// server configuration (ReadTimeout). // server configuration (ReadTimeout).
// (In Second) // (In Seconds)
"DialTimeout": 10, "DialTimeout": 10,
// Socks5 proxy. When set, we will try to connect remote through the given // Socks5 proxy. When set, we will try to connect remote through the given
@@ -142,29 +142,29 @@ Here is the options that can be used in a configuration file and what it for:
// Timeout of initial request. HTTP handshake must be finished within // Timeout of initial request. HTTP handshake must be finished within
// this time // this time
// (In Second) // (In Seconds)
"InitialTimeout": 3, "InitialTimeout": 3,
// How long the connection can be idle before the server disconnects the // How long the connection can be idle before the server disconnects the
// client // client
// (In Second) // (In Seconds)
"ReadTimeout": 60, "ReadTimeout": 60,
// How long the server will wait until the client connect is ready to // How long the server will wait until the client connect is ready to
// recieve new data // recieve new data
// (In Second) // (In Seconds)
"WriteTimeout": 60, "WriteTimeout": 60,
// The interval between internal echo requests // The interval between internal echo requests
// (In Second) // (In Seconds)
"HeartbeatTimeout": 20, "HeartbeatTimeout": 20,
// Forced delay between each request // Forced delay between each request
// (In Milisecond) // (In Miliseconds)
"ReadDelay": 10, "ReadDelay": 10,
// Forced delay between each write // Forced delay between each write
// (In Milisecond) // (In Miliseconds)
"WriteDelay": 10, "WriteDelay": 10,
// Path to TLS certificate file. Set empty to use HTTP // Path to TLS certificate file. Set empty to use HTTP