mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-12 16:01:27 +08:00
fix: 重试次数改为1
This commit is contained in:
@@ -46,7 +46,7 @@ func NewDriverSession() *DriverSession {
|
|||||||
client: &http.Client{
|
client: &http.Client{
|
||||||
Timeout: timeout,
|
Timeout: timeout,
|
||||||
},
|
},
|
||||||
maxRetry: 5,
|
maxRetry: 1,
|
||||||
}
|
}
|
||||||
session.Reset()
|
session.Reset()
|
||||||
return session
|
return session
|
||||||
|
|||||||
Reference in New Issue
Block a user