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