HaloKu created AIRFLOW-4059:
-------------------------------
Summary: Define max time of task in pool
Key: AIRFLOW-4059
URL: https://issues.apache.org/jira/browse/AIRFLOW-4059
Project: Apache Airflow
Issue Type: Improvement
Affects Versions: 2.0.0
Reporter: HaloKu
Currently Airflow allow to define slots in Pool.
However it doesn't allow to define max_time to a task in a pool.
This feature can be handy and it exists in many systems - if max_time exceeded
the task will be killed and it's slot will be freed.
This can be implemented literally or with more advanced options like soft /
force flag (which will also be defined in pool settings):
# soft - if there is no other task waiting for the pool then max_time is
ignored until the current task finished or another task is waiting for the pool.
# force - no matter what task will be killed when it exceed max_time.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)