timeSliceQuery
This commit is contained in:
parent
6b2622b1a3
commit
c68c996892
|
|
@ -86,7 +86,7 @@ func (v *VoucherBiz) timeSliceQuery(ctx context.Context, startTime, endTime time
|
|||
duration := 2 * time.Hour
|
||||
|
||||
eg := new(errgroup.Group)
|
||||
eg.SetLimit(5)
|
||||
eg.SetLimit(8)
|
||||
|
||||
for start := startTime; start.Before(endTime); start = start.Add(duration) {
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue