@@ -59,7 +59,7 @@ namespace HealthMonitor.WebApi | |||
builder.Services.AddHttpClient(Consts.DEFAULT_HTTPCLIENT_NAME, c => | |||
{ | |||
c.Timeout = TimeSpan.FromSeconds(10); //超时限制 | |||
c.Timeout = TimeSpan.FromSeconds(60); //超时限制 | |||
c.DefaultRequestHeaders.Add("Accept", "application/json"); | |||
//c.DefaultRequestHeaders.Connection.Add("keep-alive"); | |||
}); | |||