sing-box/constant/timeout.go

13 lines
281 B
Go
Raw Permalink Normal View History

2022-07-18 12:40:14 +00:00
package constant
import "time"
const (
2022-07-29 16:29:22 +00:00
TCPTimeout = 5 * time.Second
ReadPayloadTimeout = 300 * time.Millisecond
DNSTimeout = 10 * time.Second
QUICTimeout = 30 * time.Second
STUNTimeout = 15 * time.Second
UDPTimeout = 5 * time.Minute
2022-07-18 12:40:14 +00:00
)