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

Feature: Throttle by Name (or Some sort of Job Group) #49

Open
AaronG1234 opened this issue Dec 10, 2019 · 0 comments
Open

Feature: Throttle by Name (or Some sort of Job Group) #49

AaronG1234 opened this issue Dec 10, 2019 · 0 comments

Comments

@AaronG1234
Copy link

if i have two concepts each running 10 threads (in the same PS Session)
is it possible to allow one to have have a different throttle limit than the other?
or is -Throttlelimit across all thread jobs

for instance Jobs 1-10 have Codeblock $A to do, and each has been given a jobname of "A" for ease of tracking. They are very important, and should always have 4 threads to work on them. They however share a WebSession with the parent and all the Jobs 11-20. So they can't easily be run in different hosts.
Jobs 11-20 have Codeblock $B to do, and each has been given a jobname of "B" for ease of tracking. they are not nearly as important and should only have 2 threads ever working on their work.

if i set throttle limit to 4 when creating Jobs 1-10, and then throttle limit 2 when creating jobs 11-20, i assume the results is the initial 4 jobs begin, but then the max current running jobs scale back to 2, processing all the jobs in 1-10 then 11-20 generally 2 at a time (depending on how many finished before 11-20 were defined)

Is there a way I can set the throttle limit per ... something (Name seems the best to me, but a new parameter like JobGroup etc. would add functionality without damaging current expectations)

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