kaxil commented on a change in pull request #16301:
URL: https://github.com/apache/airflow/pull/16301#discussion_r657184582
##########
File path: airflow/jobs/local_task_job.py
##########
@@ -151,16 +147,16 @@ def signal_handler(signum, frame):
self.on_kill()
def handle_task_exit(self, return_code: int) -> None:
- """Handle case where self.task_runner exits by itself"""
+ """Handle case where self.task_runner exits by itself or received a
SIGKILL"""
Review comment:
SIGKILL can't be caught though, agree with TP's comment below to update
the docstrings
>SIGKILL is an immediate termination signal and it cannot be caught or
ignored by the process.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]