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