Skip to content

Commit 462382d

Browse files
fix: remove HTTP client timeout to support long-running checks (#550)
1 parent 5bafab2 commit 462382d

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

cmd/beekeeper/cmd/cmd.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import (
1010
"os"
1111
"path/filepath"
1212
"strings"
13-
"time"
1413

1514
"github.com/ethersphere/beekeeper/pkg/bee"
1615
"github.com/ethersphere/beekeeper/pkg/config"
@@ -89,7 +88,6 @@ func newCommand(opts ...option) (c *command, err error) {
8988
Transport: &httpx.HeaderRoundTripper{
9089
Next: http.DefaultTransport,
9190
},
92-
Timeout: 3 * time.Minute,
9391
},
9492
}
9593

pkg/orchestration/k8s/cluster.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import (
88
"math/rand"
99
"net/http"
1010
"slices"
11-
"time"
1211

1312
"github.com/ethersphere/bee/v2/pkg/swarm"
1413
"github.com/ethersphere/beekeeper/pkg/bee"
@@ -56,7 +55,6 @@ func NewCluster(name string, o orchestration.ClusterOptions, k8s *k8s.Client, sw
5655
nodeGroups: make(map[string]orchestration.NodeGroup),
5756
log: log,
5857
httpClient: &http.Client{
59-
Timeout: 5 * time.Minute,
6058
Transport: &httpx.HeaderRoundTripper{
6159
Next: &http.Transport{
6260
TLSClientConfig: &tls.Config{

0 commit comments

Comments
 (0)