Harden production workflows and agent admission
This commit is contained in:
@@ -29,7 +29,10 @@ func New(baseURL, token, agentID string) *Client {
|
||||
baseURL: strings.TrimRight(baseURL, "/"),
|
||||
token: token,
|
||||
agentID: agentID,
|
||||
http: &http.Client{Timeout: 15 * time.Second},
|
||||
http: &http.Client{
|
||||
Timeout: 15 * time.Second,
|
||||
Transport: &http.Transport{DisableKeepAlives: true},
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user