From 745e14a333c3ffc6ece106e095bfa3ff53fba866 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Mon, 9 Mar 2015 18:19:24 +0000 Subject: [PATCH] (fedimg) Crank up the number of fedmsg endpoints. --- roles/fedmsg/base/templates/endpoints-fedimg.py.j2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/roles/fedmsg/base/templates/endpoints-fedimg.py.j2 b/roles/fedmsg/base/templates/endpoints-fedimg.py.j2 index b13f3a78a2..5a4fb9d4af 100644 --- a/roles/fedmsg/base/templates/endpoints-fedimg.py.j2 +++ b/roles/fedmsg/base/templates/endpoints-fedimg.py.j2 @@ -4,11 +4,15 @@ suffix = 'stg.phx2.fedoraproject.org' suffix = 'phx2.fedoraproject.org' {% endif %} +primary_threads = 4 +atomic_threads = 2 +NUM_FEDIMG_PORTS = 2 * ((primary_threads + atomic_threads) + 1) + config = dict( endpoints={ "fedimg.fedimg01": [ "tcp://fedimg01.%s:30%0.2i" % (suffix, i) - for i in range(4) + for i in range(NUM_FEDIMG_PORTS) ], }, )