From d6db93833deac469e8e65c03fb98a7746ab2a7e5 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Wed, 31 May 2017 17:42:46 +0000 Subject: [PATCH] Prepare for a config field name switch. --- roles/mbs/common/templates/config.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/mbs/common/templates/config.py b/roles/mbs/common/templates/config.py index 9ac72c9b52..c924a38b05 100644 --- a/roles/mbs/common/templates/config.py +++ b/roles/mbs/common/templates/config.py @@ -43,6 +43,9 @@ class BaseConfiguration(object): # Determines how many builds that can be submitted to the builder # and be in the build state at a time. Set this to 0 for no restrictions + # New name + NUM_CONCURRENT_BUILDS = 5 + # Old name https://pagure.io/fm-orchestrator/issue/574 NUM_CONSECUTIVE_BUILDS = 5 RPMS_DEFAULT_REPOSITORY = 'git://pkgs.fedoraproject.org/rpms/' @@ -149,6 +152,9 @@ class ProdConfiguration(BaseConfiguration): # If this is too long, we could change it to 'fm_' some day. DEFAULT_DIST_TAG_PREFIX = 'module_' + # New name + NUM_CONCURRENT_BUILDS = 20 + # Old name https://pagure.io/fm-orchestrator/issue/574 NUM_CONSECUTIVE_BUILDS = 20 # Delete module-* targets one hour after build