mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-19 11:59:29 +08:00
feat: 增加超时时间
This commit is contained in:
@@ -419,7 +419,7 @@ func (w *WingsService) callWingsAPI(ctx context.Context, request WingsActionRequ
|
||||
|
||||
// Execute HTTP request
|
||||
client := &http.Client{
|
||||
Timeout: 30 * time.Second,
|
||||
Timeout: 60 * time.Second,
|
||||
}
|
||||
|
||||
resp, err := client.Do(httpReq)
|
||||
|
||||
Reference in New Issue
Block a user