Currently this is not possible in Python.

In the master branch
<https://github.com/grpc/grpc/blob/master/src/python/grpcio/grpc/__init__.py#L1276>,
there is an options field that works in the same way, and you can set grpc
.max_receive_message_length/grpc.max_send_message_length.

This will be included in the 1.1 release which should be out relatively
soon.

On Thu, Jan 19, 2017 at 6:00 AM, Виталий Андросенко <[email protected]>
wrote:

> I can set max_message_length for client:
>
> grpc.insecure_channel(target=address or self.DEFAULT_ADDRESS,
>                                      options=[('grpc.max_message_length', 
> max_message_length)])
>
>
> How can I set max_message_length for server or listen port use python ???
>
>
> Tanks all for answers.
>
>
>
> --
> You received this message because you are subscribed to the Google Groups "
> grpc.io" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/grpc-io.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/grpc-io/105e20e5-0980-4c6e-a721-657304330cd0%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/105e20e5-0980-4c6e-a721-657304330cd0%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CAGm2-Y4S9L7O_GgMjv6xZRjAZJC-Jfxo5z6bL-8G8B_as5eKhQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to