Skip to content

Commit

Permalink
Increase prism server receive size to max.
Browse files Browse the repository at this point in the history
  • Loading branch information
lostluck committed Aug 28, 2023
1 parent 1d82bdc commit 185636c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sdks/go/pkg/beam/runners/prism/internal/worker/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ import (
"context"
"fmt"
"io"
"math"
"net"
"strconv"
"strings"
Expand Down Expand Up @@ -84,7 +85,9 @@ func New(id string) *W {
if err != nil {
panic(fmt.Sprintf("failed to listen: %v", err))
}
var opts []grpc.ServerOption
opts := []grpc.ServerOption{
grpc.MaxRecvMsgSize(math.MaxInt32),
}
wk := &W{
ID: id,
lis: lis,
Expand Down

0 comments on commit 185636c

Please sign in to comment.