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

Still a bunch of code that uses num_workers #15

Open
ktbyers opened this issue Sep 15, 2021 · 1 comment
Open

Still a bunch of code that uses num_workers #15

ktbyers opened this issue Sep 15, 2021 · 1 comment

Comments

@ktbyers
Copy link
Contributor

ktbyers commented Sep 15, 2021

$ grep num_workers find . -name '*.py'
./bonus1/collateral/netmiko_napalm/bgp_project.py: result = eos_devices.run(task=render_configs, num_workers=10)
./bonus1/collateral/netmiko_napalm/bgp_project.py: result = eos_devices.run(task=napalm_merge_cfg, num_workers=10)
./bonus1/collateral/netmiko_napalm/bgp_project.py: result = eos_devices.run(task=verify_bgp, num_workers=10)
./bonus1/collateral/netmiko_prompting/netmiko_prompting.py: nr.run(task=netmiko_prompting, num_workers=1)
./bonus1/collateral/napalm_direct_task/napalm_direct_jnpr.py: nr.run(task=direct, num_workers=1)
./bonus1/collateral/napalm_direct_task/napalm_direct_eapi.py: nr.run(task=direct, num_workers=1)
./bonus1/collateral/napalm_nxos_ssh/napalm_nxos.py: nr.run(task=direct, num_workers=1)
./bonus1/collateral/netmiko_direct_task/netmiko_direct.py: nr.run(task=netmiko_direct, num_workers=1)
./class4/exercises/exercise2/exercise2c.py: runner={"plugin": "threaded", "options": {"num_workers": 10}},
./class4/exercises/exercise1/exercise1b.py: runner={"plugin": "threaded", "options": {"num_workers": 10}},
./class4/collateral/custom_tasks_and_results/custom_tasks_p4.py: runner={"plugin": "threaded", "options": {"num_workers": 15}},
./tests/test_class2.py: assert workers["num_workers"] == 5
./tests/test_class2.py: assert workers["num_workers"] == 5
./tests/test_class2.py: assert workers["num_workers"] == 5
./class2/exercises/exercise5/exercise5d.py: runner={"plugin": "threaded", "options": {"num_workers": 15}},
./class2/exercises/exercise1/exercise1a.py: workers = 20 if workers == {} else workers["num_workers"]
./class2/exercises/exercise1/exercise1c.py: print(f"\nNumber of workers: {workers['num_workers']}\n")
./class2/exercises/exercise1/exercise1d.py: runner={"plugin": "threaded", "options": {"num_workers": 15}},
./class2/exercises/exercise1/exercise1d.py: print(f"\nNumber of workers: {workers['num_workers']}\n")
./class2/exercises/exercise1/exercise1b.py: print(f"\nNumber of workers: {workers['num_workers']}\n")
./class6/collateral/troubleshooting/test_napalm_slog.py: results = nr.run(task=napalm_custom, num_workers=1)

@ktbyers
Copy link
Contributor Author

ktbyers commented Sep 15, 2021

Also need to make sure the TEST code is not missing errors that are hidden in the logging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant