Skip to content

Conversation

@henry54809
Copy link
Collaborator

GRPC only maintains 1 single channel (connection to the k8s IBL) in each process so LB across all testing devices can't happen. This PR, with no functional change, ensures each device can have its own connection to the IBL for proper LB.

@henry54809 henry54809 requested review from anurag6 and pbatta June 29, 2021 00:18
break
try:
if not progress or self._convert_and_handle(mac, progress):
print('Progress complete for %s' % mac)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Debug prints left by mistake?

@henry54809 henry54809 requested a review from grafnu July 7, 2021 15:56
"""Start the client handler"""
grpc.channel_ready_future(self._channel).result(timeout=CONNECT_TIMEOUT_SEC)
self._stub = SessionServerStub(self._channel)
# Context may be set already
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure what to make of this comment. Can you expand it a bit or position it better? Is this to say that if the context is already set then this will throw a RuntimeError? If so, I'd either clarify that in the comment or move to the except clause.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants