Merge branch 'develop' of https://gitee.com/fusenpack/fusenapi into develop
This commit is contained in:
commit
65a7d530cc
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user