Skip to content

Commit

Permalink
increase node client grpc buffer to 32MiB
Browse files Browse the repository at this point in the history
  • Loading branch information
Ubuntu committed Aug 6, 2024
1 parent 7020083 commit dc6deff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/clients/node_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ func (c client) GetChunks(
conn, err := grpc.Dial(
core.OperatorSocket(opInfo.Socket).GetRetrievalSocket(),
grpc.WithTransportCredentials(insecure.NewCredentials()),
grpc.WithDefaultCallOptions(grpc.MaxCallRecvMsgSize(32*1024*1024)), // 32 MiB buffer for the worst case
)
if err != nil {
chunksChan <- RetrievedChunks{
Expand Down

0 comments on commit dc6deff

Please sign in to comment.