From a1c5b6dfd0bf9bb84d137264ac71150596106cf1 Mon Sep 17 00:00:00 2001 From: Ljubisa Gacevic Date: Mon, 15 Dec 2025 12:08:00 +0100 Subject: [PATCH] fix: remove HTTP client timeout to support long-running checks --- cmd/beekeeper/cmd/cmd.go | 2 -- pkg/orchestration/k8s/cluster.go | 2 -- 2 files changed, 4 deletions(-) diff --git a/cmd/beekeeper/cmd/cmd.go b/cmd/beekeeper/cmd/cmd.go index 118b6739..c0a97f18 100644 --- a/cmd/beekeeper/cmd/cmd.go +++ b/cmd/beekeeper/cmd/cmd.go @@ -10,7 +10,6 @@ import ( "os" "path/filepath" "strings" - "time" "github.com/ethersphere/beekeeper/pkg/bee" "github.com/ethersphere/beekeeper/pkg/config" @@ -89,7 +88,6 @@ func newCommand(opts ...option) (c *command, err error) { Transport: &httpx.HeaderRoundTripper{ Next: http.DefaultTransport, }, - Timeout: 3 * time.Minute, }, } diff --git a/pkg/orchestration/k8s/cluster.go b/pkg/orchestration/k8s/cluster.go index c6d945f1..1fbffc9c 100644 --- a/pkg/orchestration/k8s/cluster.go +++ b/pkg/orchestration/k8s/cluster.go @@ -8,7 +8,6 @@ import ( "math/rand" "net/http" "slices" - "time" "github.com/ethersphere/bee/v2/pkg/swarm" "github.com/ethersphere/beekeeper/pkg/bee" @@ -56,7 +55,6 @@ func NewCluster(name string, o orchestration.ClusterOptions, k8s *k8s.Client, sw nodeGroups: make(map[string]orchestration.NodeGroup), log: log, httpClient: &http.Client{ - Timeout: 5 * time.Minute, Transport: &httpx.HeaderRoundTripper{ Next: &http.Transport{ TLSClientConfig: &tls.Config{