From e0cdf22b6597576da018fafffbdccb0b6b9f7b0e Mon Sep 17 00:00:00 2001 From: Athos Couto Date: Mon, 2 Sep 2024 20:02:11 -0300 Subject: [PATCH] Remove pipeline request 60s timeout --- libsql/internal/http/hranaV2/hranaV2.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/libsql/internal/http/hranaV2/hranaV2.go b/libsql/internal/http/hranaV2/hranaV2.go index 1ce4831..db74784 100644 --- a/libsql/internal/http/hranaV2/hranaV2.go +++ b/libsql/internal/http/hranaV2/hranaV2.go @@ -13,7 +13,6 @@ import ( net_url "net/url" "runtime/debug" "strings" - "time" "github.com/tursodatabase/libsql-client-go/libsql/internal/hrana" "github.com/tursodatabase/libsql-client-go/libsql/internal/http/shared" @@ -235,8 +234,6 @@ func sendPipelineRequest(ctx context.Context, msg *hrana.PipelineRequest, url st if err != nil { return hrana.PipelineResponse{}, false, err } - ctx, cancel := context.WithTimeout(ctx, 60*time.Second) - defer cancel() pipelineURL, err := net_url.JoinPath(url, "/v2/pipeline") if err != nil { return hrana.PipelineResponse{}, false, err