Skip to content

Commit

Permalink
fix: revert "Use HTTP/2 for all upstream and peer-to-peer connections… (
Browse files Browse the repository at this point in the history
#1310)

… (#1269)"

This reverts commit 24436a5.

## Which problem is this PR solving?

- We see what appears to be a memory leak, and it seems like it might be
in the connections, so we're going to try reverting this to see if it
fixes it.
  • Loading branch information
kentquirk authored Sep 4, 2024
1 parent 34734d2 commit 26814ac
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/refinery/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,6 @@ 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
Expand All @@ -157,7 +156,6 @@ func main() {
Timeout: 3 * time.Second,
}).Dial,
TLSHandshakeTimeout: 1200 * time.Millisecond,
ForceAttemptHTTP2: true,
}

genericMetricsRecorder := metrics.NewMetricsPrefixer("")
Expand Down

0 comments on commit 26814ac

Please sign in to comment.