sing-box/constant/timeout.go

12 lines
278 B
Go
Raw Normal View History

2022-07-18 12:40:14 +00:00
package constant
import "time"
const (
2022-07-24 13:29:39 +00:00
DefaultTCPTimeout = 5 * time.Second
DefaultTCPKeepAlivePeriod = 20 * time.Second
ReadPayloadTimeout = 300 * time.Millisecond
URLTestTimeout = DefaultTCPTimeout
DefaultURLTestInterval = 1 * time.Minute
2022-07-18 12:40:14 +00:00
)