You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
On my laptop his reduces the time to execute `ansible -mping ...` by approx 300 ms with `strategy=mitogen_linear`. Until this commit Mitogen was unnecessarily sending large chunks of Ansible from the controller to targets, due to `__main__` being identified as a related module of `ansible.module_utils.basic`, and resolving to something within `ansible.cli...`. On Ansible target hosts executing any Ansible Module `__main__` is imported by `ansible.module_utils.basic` as part of Ansible's module delivery mechanism. When `mitogen.master.ModuleResponder` (on the controller) processes the request for `ansible.module_utils.basic` from the target, it scans `ansible.module_utils.basic` for related imports and finds `__main__`. However `__main__` on the controller is not the same module as `__main__` on the target. On the controller it is a module in `ansible.cli...` that implements one of the ansible commands (e.g. `ansible`, `ansible-playbook`). |
7 days ago | |
|---|---|---|
| .ci | 7 days ago | |
| .github | 1 week ago | |
| ansible_mitogen | 3 weeks ago | |
| docs | 7 days ago | |
| examples | 1 year ago | |
| mitogen | 7 days ago | |
| scripts | 2 years ago | |
| tests | 7 days ago | |
| .gitignore | 1 week ago | |
| LICENSE | 5 years ago | |
| MANIFEST.in | 7 years ago | |
| README.md | 3 weeks ago | |
| dev_requirements.txt | 7 years ago | |
| netlify.toml | 11 months ago | |
| preamble_size.py | 3 months ago | |
| run_tests | 4 years ago | |
| setup.cfg | 6 months ago | |
| setup.py | 1 month ago | |
| tox.ini | 7 days ago | |
