SangwanP commented on issue #22006: URL: https://github.com/apache/airflow/issues/22006#issuecomment-2089068306
I have an alternative solution; someone with a deeper knowledge of the code base can evaluate it: If one is able to 'disable' the schedule on a DAG, the 'drain' functionality can be achieved without having to make changes to the `is_paused` field. There's already a configuration to globally disable schedules ([AIRFLOW__SCHEDULER__USE_JOB_SCHEDULE](https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#use-job-schedule)), it'd be nice if this can be extended to be configurable on a per DAG basis. This field can then be set from the UI (how to do that can be discussed). -- 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]
