Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions destination/iceberg/iceberg.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ func (i *Iceberg) Write(ctx context.Context, records []types.RawRecord) error {
}

// Send to gRPC server with timeout
reqCtx, cancel := context.WithTimeout(ctx, 300*time.Second)
reqCtx, cancel := context.WithTimeout(ctx, 900*time.Second)
defer cancel()

// Send the batch to the server
Expand Down Expand Up @@ -239,7 +239,7 @@ func (i *Iceberg) Close(ctx context.Context) error {
}

// Send commit request for this thread using a special message format
ctx, cancel := context.WithTimeout(ctx, 300*time.Second)
ctx, cancel := context.WithTimeout(ctx, 900*time.Second)
defer cancel()

request := &proto.IcebergPayload{
Expand Down Expand Up @@ -279,7 +279,7 @@ func (i *Iceberg) Check(ctx context.Context) error {
i.Close(ctx)
}()

ctx, cancel := context.WithTimeout(ctx, 30*time.Second)
ctx, cancel := context.WithTimeout(ctx, 300*time.Second)
defer cancel()

// try to create table
Expand Down
Loading