diff --git a/source/code/go/src/plugins/utils.go b/source/code/go/src/plugins/utils.go index 91e433a0f..85af80d7a 100644 --- a/source/code/go/src/plugins/utils.go +++ b/source/code/go/src/plugins/utils.go @@ -70,7 +70,10 @@ func CreateHTTPClient() { tlsConfig.BuildNameToCertificate() transport := &http.Transport{TLSClientConfig: tlsConfig} - HTTPClient = http.Client{Transport: transport} + HTTPClient = http.Client{ + Transport: transport, + Timeout: 30 * time.Second, + } Log("Successfully created HTTP Client") }