Skip to content

Commit

Permalink
increase http client timeout because of isc.sans.edu check
Browse files Browse the repository at this point in the history
  • Loading branch information
jreisinger committed Jun 7, 2024
1 parent a08f623 commit 41bf141
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
)

// defaultHttpClient is reused by checks that make HTTP requests.
var defaultHttpClient = newHttpClient(&http.Client{Timeout: 5 * time.Second})
var defaultHttpClient = newHttpClient(&http.Client{Timeout: 10 * time.Second})

type httpClient struct {
client *http.Client
Expand Down

0 comments on commit 41bf141

Please sign in to comment.