From f85f392a5fa121646349fba2b228990871847552 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Thu, 22 Dec 2016 16:35:39 +0000 Subject: [PATCH] Set staging Koschei load threshold to 100 % Load is already greatly limited by small value of max number of tasks (only 4), there is no need to check load. --- roles/koschei/backend/templates/config-backend.cfg.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/koschei/backend/templates/config-backend.cfg.j2 b/roles/koschei/backend/templates/config-backend.cfg.j2 index f56a8b0a3d..3c18d5ff9d 100644 --- a/roles/koschei/backend/templates/config-backend.cfg.j2 +++ b/roles/koschei/backend/templates/config-backend.cfg.j2 @@ -34,11 +34,12 @@ config = { {% if env == 'staging' %} "max_builds": 4, "build_arches": ['i386', 'x86_64', 'armhfp'], + "load_threshold": 1, {% else %} "max_builds": 60, "build_arches": ['i386', 'x86_64', 'armhfp', 'aarch64', 'ppc64', 'ppc64le'], - {% endif %} "load_threshold": 0.65, + {% endif %} "task_priority": 30, }, "dependency": {