forked from apache/airflow
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AIRFLOW-1779] Add keepalive packets to ssh hook
Make use of paramiko's set_keepalive method to send keepalive packets every keepalive_interval seconds. This will prevent long running queries with no terminal output from being termanated as idle, for example by an intermediate NAT. Set on by default with a 30 second interval. Closes apache#2749 from RJKeevil/add-sshhook-keepalive (cherry picked from commit 1bde783) Signed-off-by: Bolke de Bruin <[email protected]>
- Loading branch information
1 parent
431d8ea
commit d2f9d18
Showing
2 changed files
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters