From 792ce2343533a1d79a036b7a9250d6c85ac13a6e Mon Sep 17 00:00:00 2001 From: ziming Date: Mon, 16 Jun 2025 08:55:31 +0800 Subject: [PATCH] timeSliceQuery 8 --- internal/biz/cron_notice.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/biz/cron_notice.go b/internal/biz/cron_notice.go index 13d5af9..e2fe857 100644 --- a/internal/biz/cron_notice.go +++ b/internal/biz/cron_notice.go @@ -88,7 +88,7 @@ func (v *VoucherBiz) timeSliceQuery(ctx context.Context, startTime, endTime time duration := 2 * time.Hour eg := new(errgroup.Group) - eg.SetLimit(10) + eg.SetLimit(8) for start := startTime; start.Before(endTime); start = start.Add(duration) {