From 23a18cc784263644a5247abbad00b5f3656537c2 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Fri, 4 Mar 2016 19:24:25 +0000 Subject: [PATCH] Tell bodhi-backend02 to use only one thread. Poor bugzilla. --- roles/bodhi2/base/templates/bodhi-threading.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/bodhi2/base/templates/bodhi-threading.py b/roles/bodhi2/base/templates/bodhi-threading.py index 574f054128..523270bc85 100644 --- a/roles/bodhi2/base/templates/bodhi-threading.py +++ b/roles/bodhi2/base/templates/bodhi-threading.py @@ -5,6 +5,11 @@ config = { # If you crank up this number, you should also crank up: # - the iptables rules in inventory/group_vars/bodhi-backend # - the fedmsg endpoints in roles/fedmsg/base/templates/endpoints-bodhi.py + {% if inventory_hostname.startswith('bodhi-backend02') %} + # https://github.com/fedora-infra/bodhi/issues/795 + "moksha.workers_per_consumer": 1, + {% else %} "moksha.workers_per_consumer": 2, + {% endif %} "moksha.threadpool_size": 22, }