Skip to content

Commit 8e851ad

Browse files
authored
increase http client timeout (#531)
1 parent bb83038 commit 8e851ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/httputil/http_util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func BuildHTTPClientTLS(tlsCertKey, tlsPrivateKey string) (*http.Client, error)
4545

4646
func getClient() *http.Client {
4747
client := &http.Client{
48-
Timeout: time.Second * 30,
48+
Timeout: time.Minute * 2,
4949
Transport: &http.Transport{
5050
Proxy: http.ProxyFromEnvironment,
5151
DialContext: (&net.Dialer{

0 commit comments

Comments
 (0)