Compare commits

..
1 Commits
Author SHA1 Message Date
lukaszraczylo cd5d75feff Remove legacy timeout field. 2021-12-02 11:35:03 +00:00
+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)
},