File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
connector/src/yang/connector Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,6 @@ def banner(string):
3131 def to_plaintext (string ):
3232 return string
3333
34-
35- GRPC_MAX_RECEIVE_MESSAGE_LENGTH = 1000000000
36- GRPC_MAX_SEND_MESSAGE_LENGTH = 1000000000
37-
3834from .settings import Settings
3935
4036# create a logger for this module
@@ -312,8 +308,8 @@ def connect(self):
312308 port = str (dev_args .get ('port' ))
313309 target = '{0}:{1}' .format (host , port )
314310
315- max_receive_message_length = self .setting .GRPC_MAX_RECEIVE_MESSAGE_LENGTH
316- max_send_message_length = self .setting .GRPC_MAX_SEND_MESSAGE_LENGTH
311+ max_receive_message_length = self .settings .GRPC_MAX_RECEIVE_MESSAGE_LENGTH
312+ max_send_message_length = self .settings .GRPC_MAX_SEND_MESSAGE_LENGTH
317313
318314 options = [('grpc.max_receive_message_length' , max_receive_message_length ),
319315 ('grpc.max_send_message_length' , max_send_message_length )]
You can’t perform that action at this time.
0 commit comments