Remove legacy timeout field.

This commit is contained in:
2021-12-02 11:35:03 +00:00
parent b25f4c969a
commit cd5d75feff
+1 -1
View File
@@ -50,10 +50,10 @@ func NewConnection() *GraphQL {
return &GraphQL{
Endpoint: pickGraphqlEndpoint(),
HttpClient: &http.Client{
Timeout: time.Second * 30,
Transport: &http2.Transport{
DisableCompression: false,
AllowHTTP: true,
PingTimeout: 5 * time.Second,
DialTLS: func(network, addr string, cfg *tls.Config) (net.Conn, error) {
return net.Dial(network, addr)
},