eantyshev commented on code in PR #23476:
URL: https://github.com/apache/beam/pull/23476#discussion_r994483258


##########
playground/infrastructure/grpc_client.py:
##########
@@ -52,7 +54,7 @@ async def run_code(
                 f'Incorrect sdk: must be from this pool: {", ".join(sdks)}')
         request = api_pb2.RunCodeRequest(
             code=code, sdk=sdk, pipeline_options=pipeline_options)
-        response = await self._stub.RunCode(request)
+        response = await self._stub.RunCode(request, timeout=self._timeout, 
wait_for_ready=self._wait_for_ready)

Review Comment:
   This is to not backoff immediately when  GRPC isn't ready



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to