-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Closed
Labels
Description
Body
The SSHOperator does not have on_kill method which could deliberately close the ssh client. This means that the klient is close by TERM or even KILL signal when the task is closed and it might leave the connection to SSH still open for quite some time when the server might not realise that the client is closed.
Closing the client gently should improve the speed with which the SSH server will close such stale connections in most cases.
Committer
- I acknowledge that I am a maintainer/committer of the Apache Airflow project.