From 578365bc34f8697d523efb5699b1cb0e19efaea7 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Mon, 3 Feb 2014 22:00:22 +0000 Subject: [PATCH] Bump fedmsg endpoints for fas and pkgdb to agree with the number of wsgi processes. --- roles/fedmsg_base/templates/endpoints.py.j2 | 8 ++++---- roles/fedmsg_base/templates/pkgdb.py.j2 | 16 ++++++++-------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/roles/fedmsg_base/templates/endpoints.py.j2 b/roles/fedmsg_base/templates/endpoints.py.j2 index e3f9ccb62a..a75c8b9d26 100644 --- a/roles/fedmsg_base/templates/endpoints.py.j2 +++ b/roles/fedmsg_base/templates/endpoints.py.j2 @@ -66,20 +66,20 @@ config = dict( "tcp://relepel01.%s:3001" % suffix, ], {% endif %} - # FAS is a little out of the ordinary. It has 32 endpoints instead of + # FAS is a little out of the ordinary. It has 40 endpoints instead of # the usual 8 since there are so many mod_wsgi processes for it. "fas.fas01": [ "tcp://fas01.%s:30%02i" % (suffix, i) - for i in range(32) + for i in range(40) ], {% if env != 'staging' %} "fas.fas02": [ "tcp://fas02.%s:30%02i" % (suffix, i) - for i in range(32) + for i in range(40) ], "fas.fas03": [ "tcp://fas03.%s:30%02i" % (suffix, i) - for i in range(32) + for i in range(40) ], {% endif %} # Well, fedoratagger needs 32 endpoints too, just like FAS. diff --git a/roles/fedmsg_base/templates/pkgdb.py.j2 b/roles/fedmsg_base/templates/pkgdb.py.j2 index 4b5914b1be..bd3803fc5d 100644 --- a/roles/fedmsg_base/templates/pkgdb.py.j2 +++ b/roles/fedmsg_base/templates/pkgdb.py.j2 @@ -10,36 +10,36 @@ config = dict( endpoints={ "pkgdb.app01": [ "tcp://app01.%s:301%i" % (suffix, i) - for i in range(6) + for i in range(10) ], "pkgdb.app02": [ "tcp://app02.%s:301%i" % (suffix, i) - for i in range(6) + for i in range(10) ], {% if not env == 'staging' %} "pkgdb.app03": [ "tcp://app03.%s:301%i" % (suffix, i) - for i in range(6) + for i in range(10) ], "pkgdb.app04": [ "tcp://app04.%s:301%i" % (suffix, i) - for i in range(6) + for i in range(10) ], "pkgdb.app05": [ "tcp://app05.%s:301%i" % (non_phx_suffix, i) - for i in range(6) + for i in range(10) ], "pkgdb.app06": [ "tcp://app06.%s:301%i" % (non_phx_suffix, i) - for i in range(6) + for i in range(10) ], "pkgdb.app07": [ "tcp://app07.%s:301%i" % (suffix, i) - for i in range(6) + for i in range(10) ], "pkgdb.app08": [ "tcp://app08.%s:301%i" % (non_phx_suffix, i) - for i in range(6) + for i in range(10) ], {% endif %} },