buildkite/buildkite-agent-metrics

Using default http.Client is discouraged

melboyce opened this issue · 0 comments

Consider a global var along the lines of

var httpClient = &http.Client{Timeout: 10 * time.Second}

The default client won't ever time out.