Skip to content

Commit 85af5b9

Browse files
author
Athos
authored
Merge pull request #133 from tursodatabase/athos/rm-pipeline-req-timeout
Remove pipeline request 60s timeout
2 parents 348a4e4 + e0cdf22 commit 85af5b9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

libsql/internal/http/hranaV2/hranaV2.go

-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import (
1414
net_url "net/url"
1515
"runtime/debug"
1616
"strings"
17-
"time"
1817

1918
"github.com/tursodatabase/libsql-client-go/libsql/internal/hrana"
2019
"github.com/tursodatabase/libsql-client-go/libsql/internal/http/shared"
@@ -236,8 +235,6 @@ func sendPipelineRequest(ctx context.Context, msg *hrana.PipelineRequest, url st
236235
if err != nil {
237236
return hrana.PipelineResponse{}, false, err
238237
}
239-
ctx, cancel := context.WithTimeout(ctx, 60*time.Second)
240-
defer cancel()
241238
pipelineURL, err := net_url.JoinPath(url, "/v2/pipeline")
242239
if err != nil {
243240
return hrana.PipelineResponse{}, false, err

0 commit comments

Comments
 (0)