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

ansible_mitogen: Fix "filedescriptor out of range in select()" in WorkerProcess #1065

Merged
merged 2 commits into from
May 2, 2024

Commits on Apr 19, 2024

  1. mitogen: Streamline Poller classes and Latch.poller_class selection

    This
    - Clarifies and corrects docstrings and comments based on investigation for mitogen-hq#957
    - Removes unused `Poller*._repr` attributes
    - Eliminates some uses of `getattr()`
    - Introduces `mitogen.parent.POLLERS` & `mitogen.parent.POLLER_LIGHTWEIGHT`
    
    Preamble size change
    ```
    @@ -1,7 +1,7 @@
     SSH command size: 759
    -Bootstrap (mitogen.core) size: 17862 (17.44KiB)
    +Bootstrap (mitogen.core) size: 17934 (17.51KiB)
    
                                   Original          Minimized           Compressed
    -mitogen.parent            98171 95.9KiB  50569 49.4KiB 51.5%  12742 12.4KiB 13.0%
    +mitogen.parent            96979 94.7KiB  49844 48.7KiB 51.4%  12697 12.4KiB 13.1%
     mitogen.fork               8436  8.2KiB   4130  4.0KiB 49.0%   1648  1.6KiB 19.5%
     mitogen.ssh               10892 10.6KiB   6952  6.8KiB 63.8%   2113  2.1KiB 19.4%
    ```
    moreati committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    efdd82d View commit details
    Browse the repository at this point in the history
  2. ansible_mitogen: Fix "filedescriptor out of range in select()" in Wor…

    …kerProcess
    
    `mitogen.parent.POLLER_LIGHTWEIGHT` will normally be `PollPoller`, falling
    back to `EpollPoller`, `KqueuePoller`, or `Poller`.
    
    Fixes mitogen-hq#957
    
    Co-authored-by: Luca Berruti <[email protected]>
    Co-authored-by: Philippe Kueck <[email protected]>
    3 people committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    4996ec2 View commit details
    Browse the repository at this point in the history