Skip to content

Commit

Permalink
Merge pull request #133 from tursodatabase/athos/rm-pipeline-req-timeout
Browse files Browse the repository at this point in the history
Remove pipeline request 60s timeout
  • Loading branch information
athoscouto authored Sep 2, 2024
2 parents 348a4e4 + e0cdf22 commit 85af5b9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions libsql/internal/http/hranaV2/hranaV2.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,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"
Expand Down Expand Up @@ -236,8 +235,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
Expand Down

0 comments on commit 85af5b9

Please sign in to comment.