up
This commit is contained in:
@@ -574,7 +574,7 @@ func (c *PurchaseHandler) ListOrders(ctx *jxcontext.Context, parentTask tasksch.
|
|||||||
seqStart := 1
|
seqStart := 1
|
||||||
i := 0
|
i := 0
|
||||||
for {
|
for {
|
||||||
batchSize := int(math.Min(math.Pow(2, float64(i)), float64(mtwmapi.MaxGap4GetOrderIdByDaySeq)))
|
batchSize := int(math.Min(math.Pow(2, float64(i*3)), float64(mtwmapi.MaxGap4GetOrderIdByDaySeq)))
|
||||||
seqEnd := seqStart + batchSize - 1
|
seqEnd := seqStart + batchSize - 1
|
||||||
var tmpOrderIDs []int64
|
var tmpOrderIDs []int64
|
||||||
if seqStart == seqEnd {
|
if seqStart == seqEnd {
|
||||||
|
|||||||
Reference in New Issue
Block a user