LeonardoIshida commented on code in PR #57778:
URL: https://github.com/apache/airflow/pull/57778#discussion_r2501101567


##########
task-sdk/src/airflow/sdk/execution_time/supervisor.py:
##########
@@ -1382,6 +1431,9 @@ def _handle_request(self, msg: ToSupervisor, log: 
FilteringBoundLogger, req_id:
             inactive_assets_resp = 
self.client.task_instances.validate_inlets_and_outlets(msg.ti_id)
             resp = 
InactiveAssetsResult.from_inactive_assets_response(inactive_assets_resp)
             dump_opts = {"exclude_unset": True}
+        elif isinstance(msg, SetTaskExecutionTimeout):
+            self._execution_timeout_seconds = msg.execution_timeout_seconds
+            self._task_execution_start_monotonic = time.monotonic()

Review Comment:
   It would work with just one variable. I will be changing that in the next 
commit



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