From 7c97ebc3d8daf2c17fd8358f9aa742cf5d3d61c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Fri, 19 Mar 2021 18:43:32 +0800 Subject: [PATCH] aa --- business/jxstore/tempop/tempop.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/tempop/tempop.go b/business/jxstore/tempop/tempop.go index f759ca56f..cf0116b67 100644 --- a/business/jxstore/tempop/tempop.go +++ b/business/jxstore/tempop/tempop.go @@ -1756,7 +1756,7 @@ func UploadJdsImage(ctx *jxcontext.Context) (err error) { ` dao.GetRows(db, &storeMaps, sql, nil) // for _, v := range storeMaps { - task := tasksch.NewParallelTask("uuuuu", tasksch.NewParallelConfig().SetParallelCount(20).SetIsContinueWhenError(true), ctx, + task := tasksch.NewParallelTask("uuuuu", tasksch.NewParallelConfig().SetIsContinueWhenError(true), ctx, func(task *tasksch.ParallelTask, batchItemList []interface{}, params ...interface{}) (retVal interface{}, err error) { v := batchItemList[0].(*model.StoreMap) // detail, _ := api.JdShop2API.ShopDetail(utils.Str2Int(v.VendorStoreID))