You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by je...@apache.org on 2022/05/26 23:33:48 UTC
[airflow] 07/09: Remove redundant register exit signals in `dag-processor` command (#23886)
This is an automated email from the ASF dual-hosted git repository.
jedcunningham pushed a commit to branch v2-3-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 6decd20c96d1e3f909bd2ed69084fc60f1b5a9b7
Author: Andrey Anshin <An...@taragol.is>
AuthorDate: Thu May 26 19:06:11 2022 +0300
Remove redundant register exit signals in `dag-processor` command (#23886)
(cherry picked from commit db890df38f3020dc2cd322d5d5f67f4e57e186fd)
---
airflow/cli/commands/dag_processor_command.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/airflow/cli/commands/dag_processor_command.py b/airflow/cli/commands/dag_processor_command.py
index 183b77dbe2..db7ed443a3 100644
--- a/airflow/cli/commands/dag_processor_command.py
+++ b/airflow/cli/commands/dag_processor_command.py
@@ -70,11 +70,9 @@ def dag_processor(args):
)
with ctx:
try:
- manager.register_exit_signals()
manager.start()
finally:
manager.terminate()
manager.end()
else:
- manager.register_exit_signals()
manager.start()