github.com/sagernet/sing-box@v1.9.0-rc.20/constant/timeout.go (about) 1 package constant 2 3 import "time" 4 5 const ( 6 TCPKeepAliveInitial = 10 * time.Minute 7 TCPKeepAliveInterval = 75 * time.Second 8 TCPTimeout = 5 * time.Second 9 ReadPayloadTimeout = 300 * time.Millisecond 10 DNSTimeout = 10 * time.Second 11 QUICTimeout = 30 * time.Second 12 STUNTimeout = 15 * time.Second 13 UDPTimeout = 5 * time.Minute 14 DefaultURLTestInterval = 3 * time.Minute 15 DefaultURLTestIdleTimeout = 30 * time.Minute 16 StartTimeout = 10 * time.Second 17 StopTimeout = 5 * time.Second 18 FatalStopTimeout = 10 * time.Second 19 FakeIPMetadataSaveInterval = 10 * time.Second 20 )