Skip to content

Commit

Permalink
Provide origin of grpc max message size
Browse files Browse the repository at this point in the history
  • Loading branch information
sverhoeven authored Aug 11, 2020
1 parent f9fed53 commit 053cc4c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions grpc4bmi/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,5 @@ def stage_config_file(filename, input_dir, input_mount_point, home_mounted=False


# grpc max message size is 4Mb
# Orginaly set in https://github.com/grpc/grpc/blob/v1.31.x/include/grpc/impl/codegen/grpc_types.h#L464 as GRPC_DEFAULT_MAX_RECV_MESSAGE_LENGTH define
GRPC_MAX_MESSAGE_LENGTH = 4 * 1024 * 1024

0 comments on commit 053cc4c

Please sign in to comment.