mirror of
https://github.com/FloatTech/ZeroBot-Plugin.git
synced 2025-12-19 13:59:39 +08:00
✏️ fix far connect in updater
This commit is contained in:
parent
b6dadc142b
commit
4bebf79266
@ -8,7 +8,6 @@ import (
|
||||
"net/http"
|
||||
"os"
|
||||
"sync"
|
||||
"time"
|
||||
"unsafe"
|
||||
|
||||
reg "github.com/fumiama/go-registry"
|
||||
@ -33,7 +32,7 @@ func GetLazyData(path string, isReturnDataBytes, isDataMustEqual bool) ([]byte,
|
||||
u := dataurl + path
|
||||
lzmu.Lock()
|
||||
logrus.Infoln("[file]检查懒加载文件:", path)
|
||||
err := registry.ConnectIn(time.Second * 4)
|
||||
err := registry.Connect()
|
||||
if err != nil {
|
||||
logrus.Errorln("[file]无法连接到md5验证服务器,请自行确保下载文件的正确性:", err)
|
||||
} else {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user