Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bca38bd372 | ||
|
|
9095649afb |
@@ -19,7 +19,7 @@ func GetHTTPClient(insecure bool) *http.Client {
|
||||
if insecure {
|
||||
if insecureHTTPClient == nil {
|
||||
insecureHTTPClient = &http.Client{
|
||||
Timeout: time.Second * 10,
|
||||
Timeout: 10 * time.Second,
|
||||
Transport: &http.Transport{
|
||||
MaxIdleConns: 100,
|
||||
MaxIdleConnsPerHost: 20,
|
||||
|
||||
@@ -72,7 +72,7 @@ func copyResults(results []*core.Result) []*core.Result {
|
||||
Duration: result.Duration,
|
||||
Errors: copyErrors(result.Errors),
|
||||
ConditionResults: copyConditionResults(result.ConditionResults),
|
||||
Success: result.Connected,
|
||||
Success: result.Success,
|
||||
Timestamp: result.Timestamp,
|
||||
CertificateExpiration: result.CertificateExpiration,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user