From 2a5d3d37971f74c82cee42936688944af15783de Mon Sep 17 00:00:00 2001 From: gazebo Date: Sat, 16 Feb 2019 17:34:22 +0800 Subject: [PATCH] - change batch to 5000 in CreateOrderFromOriginal --- 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 0c5d94a62..9055a7904 100644 --- a/business/jxstore/tempop/tempop.go +++ b/business/jxstore/tempop/tempop.go @@ -580,7 +580,7 @@ type GoodsOrderOriginalEx struct { } func CreateOrderFromOriginal(ctx *jxcontext.Context, isAsync, isContinueWhenError bool) (hint string, err error) { - sqlBatchCount := 10000 + sqlBatchCount := 5000 rootTask := tasksch.NewSeqTask("CreateOrderFromOriginal", ctx.GetUserName(), func(rootTask *tasksch.SeqTask, step int, params ...interface{}) (result interface{}, err error) { sql := ` SELECT t1.*, t3.order_status