mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-16 17:42:21 +08:00
15 lines
385 B
Go
15 lines
385 B
Go
package constant
|
|
|
|
import "time"
|
|
|
|
const (
|
|
TCPTimeout = 5 * time.Second
|
|
TCPKeepAlivePeriod = 20 * time.Second
|
|
ReadPayloadTimeout = 300 * time.Millisecond
|
|
URLTestTimeout = TCPTimeout
|
|
DefaultURLTestInterval = 1 * time.Minute
|
|
DNSTimeout = 10 * time.Second
|
|
QUICTimeout = 30 * time.Second
|
|
STUNTimeout = 15 * time.Second
|
|
)
|