sing-box/constant/timeout.go

22 lines
750 B
Go
Raw Permalink Normal View History

2022-07-18 20:40:14 +08:00
package constant
import "time"
const (
2024-04-08 18:00:48 +08:00
TCPKeepAliveInitial = 10 * time.Minute
TCPKeepAliveInterval = 75 * time.Second
2024-10-30 13:09:05 +08:00
TCPConnectTimeout = 5 * time.Second
TCPTimeout = 15 * time.Second
2024-04-02 23:07:26 +08:00
ReadPayloadTimeout = 300 * time.Millisecond
DNSTimeout = 10 * time.Second
QUICTimeout = 30 * time.Second
STUNTimeout = 15 * time.Second
UDPTimeout = 5 * time.Minute
DefaultURLTestInterval = 3 * time.Minute
DefaultURLTestIdleTimeout = 30 * time.Minute
StartTimeout = 10 * time.Second
StopTimeout = 5 * time.Second
FatalStopTimeout = 10 * time.Second
FakeIPMetadataSaveInterval = 10 * time.Second
2022-07-18 20:40:14 +08:00
)