1
This commit is contained in:
@@ -707,7 +707,12 @@ func (v *VendorSync) LoopStoresMap2(ctx *jxcontext.Context, parentTask tasksch.I
|
||||
if len(loopInfoList) == 1 {
|
||||
taskName = fmt.Sprintf("%s,处理平台%s", taskName, model.VendorChineseNames[loopInfoList[0].VendorID])
|
||||
}
|
||||
globals.SugarLogger.Debug("================刘磊",loopInfoList)
|
||||
|
||||
for k,_ := range loopInfoList {
|
||||
globals.SugarLogger.Debug("刘磊=============",k)
|
||||
globals.SugarLogger.Debug("刘磊=============",len(loopInfoList))
|
||||
|
||||
}
|
||||
// 临时把京东的并发改为2
|
||||
task = tasksch.NewParallelTask(taskName, tasksch.NewParallelConfig().SetIsContinueWhenError(true), ctx, handler, loopInfoList)
|
||||
if isAsync {
|
||||
|
||||
Reference in New Issue
Block a user