Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use select.poll() if available. #1078

Merged
merged 3 commits into from
Oct 10, 2024
Merged

Use select.poll() if available. #1078

merged 3 commits into from
Oct 10, 2024

Commits on Oct 9, 2024

  1. Use select.poll() if available.

    Details:
    
    As stated in the `select()` man page:
    ```
    WARNING: select() can monitor only file descriptors numbers that are less than FD_SETSIZE
             (1024)—an unreasonably low limit for many modern applications—and this limitation will not
             change.
    ```
    
    This can lead to `ValueError: filedescriptor out of range in select()` when using watchdog.
    Following the advice of the `select()` man page, we use `select.poll()` instead, if available.
    The call to `select()` used as a fallback.
    g-pichler committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    b1db27f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ddfdd4 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. Configuration menu
    Copy the full SHA
    e10dff8 View commit details
    Browse the repository at this point in the history