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:
Tomas Kopecek 2021-08-23 13:16:42 +02:00 committed by Tom Gundersen
parent 7743d20af9
commit 30f11bcf16

View file

@ -420,7 +420,7 @@ class Client:
class OSBuildImage(BaseTaskHandler):
Methods = ['osbuildImage']
_taskWeight = 2.0
_taskWeight = 0.2
def __init__(self, task_id, method, params, session, options):
super().__init__(task_id, method, params, session, options)