Thanks. We will wait for 1.1 release :)

понедельник, 23 января 2017 г., 21:18:12 UTC+2 пользователь Ken Payson 
написал:
>
> 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] 
> <javascript:>> 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] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> 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/af149eef-9bca-40f2-ac60-2e1de98228c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to