有谁知道这是什么原因吗?并发请求总是隔段时间就提示:golang Client.Timeout exceeded while awaiting headers

DreamingPHPer · · 2856 次点击
更多评论
var client = &http.Client{ Timeout: time.Second * 30, // 增加為 30 秒 }
#1
但是实际接口响应一般都是在1秒以内
#2