You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ferruzzi (via GitHub)" <gi...@apache.org> on 2024/05/01 02:39:54 UTC

Re: [PR] ECS Executor: Set tasks to RUNNING state once active [airflow]

ferruzzi commented on code in PR #39212:
URL: https://github.com/apache/airflow/pull/39212#discussion_r1585813910


##########
airflow/providers/celery/executors/celery_executor.py:
##########
@@ -368,8 +368,10 @@ def update_all_task_states(self) -> None:
             if state:
                 self.update_task_state(key, state, info)
 
-    def change_state(self, key: TaskInstanceKey, state: TaskInstanceState, info=None) -> None:
-        super().change_state(key, state, info)
+    def change_state(
+        self, key: TaskInstanceKey, state: TaskInstanceState, info=None, remove_running=True
+    ) -> None:
+        super().change_state(key, state, info, remove_running=remove_running)

Review Comment:
   yeah, I like that.



-- 
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: commits-unsubscribe@airflow.apache.org

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