ChickenBenny commented on code in PR #77489:
URL: https://github.com/apache/airflow/pull/77489#discussion_r4696958868


##########
go-sdk/pkg/execution/task_runner.go:
##########
@@ -129,6 +130,25 @@ func RunTask(
                return failTask(details.TIContext.ShouldRetry, err)
        }
 
+       run := func(ctx context.Context) any {
+               return runTask(ctx, task, details, client, logger)
+       }
+       if timeoutSeconds == nil {
+               return run(ctx)
+       }
+       return runWithExecutionTimeout(
+               ctx, *timeoutSeconds, details.TIContext.ShouldRetry, logger, 
run,
+       )
+}
+
+// runTask runs the task and returns its terminal body.

Review Comment:
   Removed in 047a9ea704. (Or just resolve these two threads without a reply.)
   



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