Commit 1532b153 authored by szh's avatar szh

0.4.2

parent 8cf39faa
......@@ -235,7 +235,7 @@ func MakeSureNodeRunning() error {
// peer list只有自己 节点应进行重启或升级
if pai.PeerLen == 1 {
PeerTimes++
if PeerTimes >= 5 {
if PeerTimes >= 10 {
util.AddValue(&JobID, 1)
JobChan <- MsgType{Name: "RESTART", JobID: JobID}
return nil
......
package app
const version = "0.4.0"
const version = "0.4.2"
var (
GitCommit string
......
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