Skip to content

Commit

Permalink
Increase shardnode message size
Browse files Browse the repository at this point in the history
  • Loading branch information
aminst committed Feb 27, 2024
1 parent f9a9c26 commit 843d445
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/shardnode/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package shardnode
import (
"context"
"fmt"
"math"

oramnodepb "github.com/dsg-uwaterloo/oblishard/api/oramnode"
"github.com/dsg-uwaterloo/oblishard/pkg/config"
Expand Down Expand Up @@ -65,6 +66,7 @@ func StartOramNodeRPCClients(endpoints []config.OramNodeEndpoint) (map[int]Repli
conn, err := grpc.Dial(serverAddr,
grpc.WithTransportCredentials(insecure.NewCredentials()),
grpc.WithUnaryInterceptor(rpc.ContextPropagationUnaryClientInterceptor()),
grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(math.MaxInt64), grpc.MaxCallSendMsgSize(math.MaxInt64)),
)
if err != nil {
return nil, err
Expand Down

0 comments on commit 843d445

Please sign in to comment.