mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-22 08:31:30 +00:00
21283b554a
Replace tracing logs with task monitor
18 lines
551 B
Go
18 lines
551 B
Go
package constant
|
|
|
|
import "time"
|
|
|
|
const (
|
|
TCPTimeout = 5 * time.Second
|
|
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
|
|
DefaultStartTimeout = 10 * time.Second
|
|
DefaultStopTimeout = 5 * time.Second
|
|
DefaultStopFatalTimeout = 10 * time.Second
|
|
)
|