test ut_holepunch ext

go get -u github.com/anacrolix/torrent@master
This commit is contained in:
nikk gitanes
2023-05-12 08:16:04 +03:00
parent a42e740041
commit a9d1f11cc2
3 changed files with 28 additions and 22 deletions

View File

@@ -18,8 +18,10 @@ const (
EsContinuous = 0x80000000
)
var pulseTime = 60 * time.Second
var clearFlagTimeout = 3 * 60 * time.Second
var (
pulseTime = 60 * time.Second
clearFlagTimeout = 3 * 60 * time.Second
)
func Preconfig(kill bool) {
go func() {