[ https://issues.apache.org/jira/browse/AIRFLOW-2670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16564248#comment-16564248 ]
ASF subversion and git services commented on AIRFLOW-2670: ---------------------------------------------------------- Commit 3b35d360f6ff8694b6fb4387901c182ca39160b5 in incubator-airflow's branch refs/heads/master from [~noremac201] [ https://gitbox.apache.org/repos/asf?p=incubator-airflow.git;h=3b35d36 ] [AIRFLOW-2670] Update SSH Operator's Hook to respect timeout (#3666) > SSHOperator's timeout parameter doesn't affect SSHook timeoot > ------------------------------------------------------------- > > Key: AIRFLOW-2670 > URL: https://issues.apache.org/jira/browse/AIRFLOW-2670 > Project: Apache Airflow > Issue Type: Improvement > Components: contrib > Affects Versions: Airflow 2.0 > Reporter: jin zhang > Priority: Major > > when I use SSHOperator, SSHOperator's timeout parameter can't set in SSHHook > and it's just effect exce_command. > old version: > self.ssh_hook = SSHHook(ssh_conn_id=self.ssh_conn_id) > I change it to : > self.ssh_hook = SSHHook(ssh_conn_id=self.ssh_conn_id, timeout=self.timeout) -- This message was sent by Atlassian JIRA (v7.6.3#76005)