zhangmeng
2019-12-12 db6c60ab7b161be80e84dae2e647072c7d311ac7
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
}