zhangmeng
2019-12-17 6beb54e229519d0f58e1633299786f492f63c301
proc/master.go
@@ -13,7 +13,7 @@
}
// MasterRole master
func MasterRole(ctx context.Context) {
func MasterRole(ctx context.Context) bool {
   reaper(ctx)
   util.InitDBAPI()
@@ -35,4 +35,5 @@
      }
      logo.Infof("START %d PROC %d SDK %s ID %s\n", k, pid, v.IpcId, v.SdkType)
   }
   return true
}