Commit a0ed1706 authored by szh's avatar szh

update node

parent 0a34a0c5
...@@ -199,8 +199,10 @@ func MakeSureNodeRunning() error { ...@@ -199,8 +199,10 @@ func MakeSureNodeRunning() error {
//简单根据大小判断文件是否正常 重新更新节点版本 //简单根据大小判断文件是否正常 重新更新节点版本
if configSize < 1000 { if configSize < 1000 {
util.AddValue(&JobID, 1) util.AddValue(&JobID, 1)
JobChan <- MsgType{Name: "FORCEUPDATET", JobID: JobID} JobChan <- MsgType{Name: "FORCEUPDATE", JobID: JobID}
} }
//todo 配置文件正常 连续一段时间未启动 进行备份恢复 从0开始同时等操作 (等待挖矿精简版发布)
} }
return err return err
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment