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

Document set max_workers for Analyze_manager in code #1616

Open
shchen-idmod opened this issue Aug 25, 2021 · 0 comments
Open

Document set max_workers for Analyze_manager in code #1616

shchen-idmod opened this issue Aug 25, 2021 · 0 comments

Comments

@shchen-idmod
Copy link
Collaborator

Beside user can set max_workers for analyzer_manager in idmtools.ini's COMMON and block section. user can also set it in code. but set in code is different than normal platform parameter.

Code:
platform = Platform("COMPS")
am = AnayzlerManager(platform, ...., max_workers=12)

Note: we can not do this:
platform = Platform("COMPS", max_workers=12)
am = AnayzlerManager(platform, ...)

idmtools.ini

[COMMON]
# Maxium number of workers processing in parallel
max_workers = 10

[COMPS]
type        = COMPS
endpoint    = https://comps.idmod.org
environment = CALCULON
max_workers = 20

the order which max_workers to choice from: platform code > Block section > COMMON section

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

No branches or pull requests

2 participants