Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jianoaix committed Jun 14, 2024
1 parent 5f6910d commit a622d5a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions node/grpc/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,7 @@ func (s *Server) StoreChunks(ctx context.Context, in *pb.StoreChunksRequest) (*p
bundleSize += proto.Size(bundle)
}
}
// Caveat: proto.Size() returns int, so this log will not work for larger protobuf
// message (over about 2GiB).
// Caveat: proto.Size() returns int, so this log will not work for larger protobuf message (over about 2GiB).
s.node.Logger.Info("StoreChunks RPC request recieved", "num of blobs", len(in.Blobs), "request message size", proto.Size(in), "total size of blob headers", blobHeadersSize, "total size of bundles", bundleSize)

// Validate the request.
Expand Down

0 comments on commit a622d5a

Please sign in to comment.