From 10a75f728c74f3b01be96cb0a5c314355fd00502 Mon Sep 17 00:00:00 2001 From: Kent Quirk Date: Wed, 4 Sep 2024 16:57:17 -0400 Subject: [PATCH] =?UTF-8?q?Revert=20"fix:=20revert=20"Use=20HTTP/2=20for?= =?UTF-8?q?=20all=20upstream=20and=20peer-to-peer=20connections=E2=80=A6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 26814aca21a6547ca442012f05183ee0f087e4aa. --- cmd/refinery/main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/refinery/main.go b/cmd/refinery/main.go index 67ba0ff691..24b45b3da6 100644 --- a/cmd/refinery/main.go +++ b/cmd/refinery/main.go @@ -147,6 +147,7 @@ func main() { Timeout: 10 * time.Second, }).Dial, TLSHandshakeTimeout: 15 * time.Second, + ForceAttemptHTTP2: true, } // peerTransport is the http transport used to send things to a local peer @@ -156,6 +157,7 @@ func main() { Timeout: 3 * time.Second, }).Dial, TLSHandshakeTimeout: 1200 * time.Millisecond, + ForceAttemptHTTP2: true, } genericMetricsRecorder := metrics.NewMetricsPrefixer("")