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


##########
runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/windmill/client/grpc/observers/DirectStreamObserver.java:
##########
@@ -217,11 +217,11 @@ public void terminate(Throwable terminationException) {
   }
 
   private String constructStreamCancelledErrorMessage(long totalSecondsWaited) 
{
-    return deadlineSeconds > 0
+    return inactivityTimeout > 0
         ? "Waited "
             + totalSecondsWaited
             + "s which exceeds given deadline of "
-            + deadlineSeconds
+            + inactivityTimeout
             + "s for the outboundObserver to become ready meaning "
             + "that the stream deadline was not respected."

Review Comment:
   done



-- 
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: github-unsubscr...@beam.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to