hashicorp / sentinel-sdk

This SDK allows developers to extend Sentinel to source external information for use in their policies.
Mozilla Public License 2.0
51 stars 13 forks source link

rpc: increase the maximum grpc message size #37

Closed ryanuber closed 5 years ago

ryanuber commented 5 years ago

Pass options to the gRPC server so that it will accept large messages. Currently the default gRPC server only allows 4MB. We want to allow plugins to return larger data structures.

This change copies what Vault does. Terraform also modifies this default. This gives us some assurance that bumping this value up shouldn't cause stability concerns.

vancluever commented 5 years ago

:+1: this looks good! Will approve it now, we can tackle the testing changes in another PR.