Skip to content

Commit

Permalink
clarify 300s
Browse files Browse the repository at this point in the history
  • Loading branch information
frobware committed Jan 16, 2025
1 parent e2539c1 commit 6e10230
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/e2e/idle_connection_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -677,6 +677,7 @@ func Test_IdleConnectionTerminationPolicy(t *testing.T) {

httpClient := func() *http.Client {
baseTransport := &http.Transport{
// 300s matches http-keep-alive setting in haproxy.config.
IdleConnTimeout: 300 * time.Second,
MaxConnsPerHost: 100,
MaxIdleConns: 100,
Expand Down

0 comments on commit 6e10230

Please sign in to comment.