We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83edd50 commit 263cf62Copy full SHA for 263cf62
connector/src/yang/connector/gnmi.py
@@ -308,8 +308,8 @@ def connect(self):
308
port = str(dev_args.get('port'))
309
target = '{0}:{1}'.format(host, port)
310
311
- max_receive_message_length = self.settings.GRPC_MAX_RECEIVE_MESSAGE_LENGTH
312
- max_send_message_length = self.settings.GRPC_MAX_SEND_MESSAGE_LENGTH
+ max_receive_message_length = self.settings.get('GRPC_MAX_RECEIVE_MESSAGE_LENGTH')
+ max_send_message_length = self.settings.get('GRPC_MAX_SEND_MESSAGE_LENGTH')
313
314
options = [('grpc.max_receive_message_length', max_receive_message_length),
315
('grpc.max_send_message_length', max_send_message_length)]
0 commit comments