From dd6b80ee713039f0aee6c17c77062c9a85e8f7f8 Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Fri, 22 Sep 2023 11:59:37 +0800 Subject: [PATCH] fix --- utils/curl/client_resty.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/curl/client_resty.go b/utils/curl/client_resty.go index 022892b1..3221f4ec 100644 --- a/utils/curl/client_resty.go +++ b/utils/curl/client_resty.go @@ -19,8 +19,8 @@ func NewClient(ctx context.Context, c *Config) Client { // 创建一个restry客户端 client := resty.New().SetBaseURL(c.BaseUrl) - // 设置超时时间为 5 分钟 - client.SetTimeout(5 * time.Minute) + // 设置超时时间为 1 分钟 + client.SetTimeout(1 * time.Minute) /* 传输链路 */ tracer := otel.GetTracerProvider().Tracer(trace.TraceName)