Skip to content

Commit e0cdf22

Browse files
author
Athos Couto
committed
Remove pipeline request 60s timeout
1 parent 4d9f581 commit e0cdf22

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

libsql/internal/http/hranaV2/hranaV2.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import (
1313
net_url "net/url"
1414
"runtime/debug"
1515
"strings"
16-
"time"
1716

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

0 commit comments

Comments
 (0)