mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-10 02:53:12 +00:00
13 lines
281 B
Go
13 lines
281 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
|
|
)
|