From 30f11bcf16aaef4709d93b50aa0bd666fbbf08e3 Mon Sep 17 00:00:00 2001 From: Tomas Kopecek Date: Mon, 23 Aug 2021 13:16:42 +0200 Subject: [PATCH] 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. --- plugins/builder/osbuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/builder/osbuild.py b/plugins/builder/osbuild.py index 31d1755..367c52b 100644 --- a/plugins/builder/osbuild.py +++ b/plugins/builder/osbuild.py @@ -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)