diff --git a/README-ZH.md b/README-ZH.md index b836f0e..91139e5 100644 --- a/README-ZH.md +++ b/README-ZH.md @@ -113,8 +113,6 @@ TODO或ISSUE里如果有你擅长的领域,或者你有特别好的主意, ## 技术交流 QQ群:16947733 邮箱:openp2p.cn@gmail.com 271357901@qq.com -第一时间获得最新版本消息,以及一些最新IT业界动态 -微信公众号:openp2p -微博:https://weibo.com/openp2p + ## 免责声明 本项目开源供大家学习和免费使用,禁止用于非法用途,任何不当使用本项目或意外造成的损失,本项目及相关人员不会承担任何责任。 diff --git a/README.md b/README.md index 825052d..1a514fe 100644 --- a/README.md +++ b/README.md @@ -138,10 +138,6 @@ QQ Group: 16947733 Email: openp2p.cn@gmail.com tenderiron@139.com -Get the latest version news, and some of the latest IT industry trends - -WeChat public account: openp2p - ## Disclaimer This project is open source for everyone to learn and use for free. It is forbidden to be used for illegal purposes. Any loss caused by improper use of this project or accident, this project and related personnel will not bear any responsibility. diff --git a/p2pnetwork.go b/p2pnetwork.go index d757aca..aca9998 100644 --- a/p2pnetwork.go +++ b/p2pnetwork.go @@ -7,7 +7,6 @@ import ( "encoding/json" "errors" "fmt" - "math" "math/rand" "net/url" "os" @@ -105,10 +104,6 @@ func (pn *P2PNetwork) autoReconnectApp() { thisRound := make([]AppConfig, 0) for i := 0; i < len(retryApps); i++ { // reset retryNum when running 15min continuously - delay := math.Exp(float64(retryApps[i].retryNum+1)/2) * 5 - if delay > 1800 { // max delay 30min - delay = 1800 - } if retryApps[i].retryTime.Add(time.Minute * 15).Before(time.Now()) { retryApps[i].retryNum = 0 }