- set showapi read timeout to 6 seconds.
This commit is contained in:
@@ -25,7 +25,7 @@ func ShowapiRequest(reqUrl string, appid int, sign string) *NormalReq {
|
||||
values := make(url.Values)
|
||||
values.Set("showapi_appid", strconv.Itoa(appid))
|
||||
values.Set("showapi_sign", sign)
|
||||
return &NormalReq{reqUrl, values, make(map[string]string), 3 * time.Second, 15 * time.Second, make(url.Values)}
|
||||
return &NormalReq{reqUrl, values, make(map[string]string), 6 * time.Second, 15 * time.Second, make(url.Values)}
|
||||
}
|
||||
|
||||
//通用请求
|
||||
|
||||
Reference in New Issue
Block a user