Lower task weight
It similar to BuildTask - so it doesn't do much on the builder and doesn't use a lot of resources. It makes sense to have much lower weight for this type of task.
This commit is contained in:
parent
7743d20af9
commit
30f11bcf16
1 changed files with 1 additions and 1 deletions
|
|
@ -420,7 +420,7 @@ class Client:
|
||||||
|
|
||||||
class OSBuildImage(BaseTaskHandler):
|
class OSBuildImage(BaseTaskHandler):
|
||||||
Methods = ['osbuildImage']
|
Methods = ['osbuildImage']
|
||||||
_taskWeight = 2.0
|
_taskWeight = 0.2
|
||||||
|
|
||||||
def __init__(self, task_id, method, params, session, options):
|
def __init__(self, task_id, method, params, session, options):
|
||||||
super().__init__(task_id, method, params, session, options)
|
super().__init__(task_id, method, params, session, options)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue