Harden production workflows and agent admission

This commit is contained in:
Stanislav Rossovskii
2026-05-28 14:19:27 +04:00
parent a2e88b4e76
commit 37b1a1d6d6
109 changed files with 4927 additions and 894 deletions

View File

@@ -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},
},
}
}