mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-25 17:44:02 +08:00
change: set http request timeout to 120s
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
# Release History
|
||||
|
||||
## v4.1.5 (2022-06-22)
|
||||
|
||||
**go version**
|
||||
|
||||
- change: set http request timeout to 120s
|
||||
|
||||
## v4.1.4 (2022-06-17)
|
||||
|
||||
**go version**
|
||||
|
||||
@@ -37,13 +37,13 @@ func NewRunner(t *testing.T) *HRPRunner {
|
||||
Transport: &http.Transport{
|
||||
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
|
||||
},
|
||||
Timeout: 30 * time.Second,
|
||||
Timeout: 120 * time.Second,
|
||||
},
|
||||
http2Client: &http.Client{
|
||||
Transport: &http2.Transport{
|
||||
TLSClientConfig: &tls.Config{InsecureSkipVerify: true},
|
||||
},
|
||||
Timeout: 30 * time.Second,
|
||||
Timeout: 120 * time.Second,
|
||||
},
|
||||
// use default handshake timeout (no timeout limit) here, enable timeout at step level
|
||||
wsDialer: &websocket.Dialer{
|
||||
|
||||
Reference in New Issue
Block a user