Skip to content

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

@AaronG1234

Description

@AaronG1234

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions