GitHub user punx120 created a discussion: SSHHook - Add option to use poll

### Description

Hi,

Related to #56372 and #56366, where i had some custom logic that kept trigger 
log file opened passe the completion of the trigger, one consequence was that 
`select` started to fail because it only supports FD up to 1024. I believe 
`poll` is not limited by that limitation, so I think it could be a good idea to 
have an option to switch to `poll` from `select` in `SSHHook`.

I worked on a proof of concept and happy to create a PR if people agree.

Thanks,
Sylvain

### Use case/motivation

_No response_

### Related issues

#56366 #56372

### Are you willing to submit a PR?

- [x] Yes I am willing to submit a PR!

### Code of Conduct

- [x] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)


GitHub link: https://github.com/apache/airflow/discussions/64092

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to