support openwrt and improve app and gateway reconnect time

This commit is contained in:
TenderIronh
2022-11-18 23:19:47 +08:00
parent 8311341960
commit c8b8bf05a5
8 changed files with 47 additions and 47 deletions
+3 -3
View File
@@ -10,8 +10,8 @@ import (
"time"
)
const OpenP2PVersion = "3.5.2"
const ProducnName string = "openp2p"
const OpenP2PVersion = "3.5.5"
const ProductName string = "openp2p"
const LeastSupportVersion = "3.0.0"
const (
@@ -146,7 +146,7 @@ const (
MaxRetry = 10
RetryInterval = time.Second * 30
PublicIPEchoTimeout = time.Second * 1
NatTestTimeout = time.Second * 10
NatTestTimeout = time.Second * 5
ClientAPITimeout = time.Second * 10
MaxDirectTry = 3
)