You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "punx120 (via GitHub)" <gi...@apache.org> on 2026/03/23 07:35:40 UTC
[D] SSHHook - Add option to use poll [airflow]
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 commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@airflow.apache.org
Re: [D] SSHHook - Add option to use poll [airflow]
Posted by "eladkal (via GitHub)" <gi...@apache.org>.
GitHub user eladkal added a comment to the discussion: SSHHook - Add option to use poll
If you have ideas for improvements - features/bug fixes you can always open a PR directly. No need to create issues.
GitHub link: https://github.com/apache/airflow/discussions/64092#discussioncomment-16270106
----
This is an automatically sent email for commits@airflow.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@airflow.apache.org