m-trieu commented on code in PR #31504:
URL: https://github.com/apache/beam/pull/31504#discussion_r1634270118


##########
runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/windmill/client/grpc/GrpcGetDataStream.java:
##########
@@ -350,7 +396,23 @@ private void queueRequestAndWait(QueuedRequest request) 
throws InterruptedExcept
       batch.countDown();
     } else {
       // Wait for this batch to be sent before parsing the response.
-      batch.await();
+      boolean batchSent = false;
+      long secondsWaited = 0;
+      long waitFor = 10;
+      while (!batchSent) {
+        if (isClosed()) {

Review Comment:
   messaged offline



-- 
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