From 3feb912d8602c880de4e73ab31e3cd692a382648 Mon Sep 17 00:00:00 2001 From: qhd <1766646056@qq.com> Date: Thu, 25 Jun 2026 11:57:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A2=9E=E5=8A=A0=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E8=B0=83=E7=94=A8=E9=87=8D=E8=AF=95=E7=AD=89=E5=BE=85=E6=97=B6?= =?UTF-8?q?=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/task/worker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service/task/worker.go b/service/task/worker.go index 9ffca46..274aa18 100644 --- a/service/task/worker.go +++ b/service/task/worker.go @@ -49,7 +49,7 @@ func (w *asyncWorker) handleOne(ctx context.Context, task *entity.ModelGatewayTa for attempt := 0; ; attempt++ { if attempt > 0 { g.Log().Infof(ctx, "[handleOne] 调模型重试 第%d次 taskId=%s", attempt, task.TaskID) - time.Sleep(time.Duration(attempt) * time.Second) + time.Sleep(time.Duration(attempt) * 5 * time.Second) } switch {