mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-29 03:51:31 +00:00
12 lines
278 B
Go
12 lines
278 B
Go
package constant
|
|
|
|
import "time"
|
|
|
|
const (
|
|
DefaultTCPTimeout = 5 * time.Second
|
|
DefaultTCPKeepAlivePeriod = 20 * time.Second
|
|
ReadPayloadTimeout = 300 * time.Millisecond
|
|
URLTestTimeout = DefaultTCPTimeout
|
|
DefaultURLTestInterval = 1 * time.Minute
|
|
)
|