mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-16 10:32:22 +08:00
12 lines
278 B
Go
12 lines
278 B
Go
package constant
|
|
|
|
import "time"
|
|
|
|
const (
|
|
DefaultTCPTimeout = 5 * time.Second
|
|
DefaultTCPKeepAlivePeriod = 20 * time.Second
|
|
ReadPayloadTimeout = 300 * time.Millisecond
|
|
URLTestTimeout = DefaultTCPTimeout
|
|
DefaultURLTestInterval = 1 * time.Minute
|
|
)
|