summaryrefslogtreecommitdiffstats
path: root/roles/fedmsg/base
diff options
context:
space:
mode:
authorRalph Bean <rbean@redhat.com>2015-08-06 20:37:22 +0000
committerRalph Bean <rbean@redhat.com>2015-08-06 20:37:22 +0000
commitffe802de902ffb95f4a5353a50c8c28699df74be (patch)
tree96e4e657e8d4fb48a379f2f6cad6f7fce1782a15 /roles/fedmsg/base
parent56491afe2758ddbeedfcd684f07392fe8aff6a92 (diff)
Fix iptables for fedmsg on fedimg hosts.
Diffstat (limited to 'roles/fedmsg/base')
-rw-r--r--roles/fedmsg/base/templates/endpoints-fedimg.py.j22
1 files changed, 2 insertions, 0 deletions
diff --git a/roles/fedmsg/base/templates/endpoints-fedimg.py.j2 b/roles/fedmsg/base/templates/endpoints-fedimg.py.j2
index 5a4fb9d4a..73b1b26a4 100644
--- a/roles/fedmsg/base/templates/endpoints-fedimg.py.j2
+++ b/roles/fedmsg/base/templates/endpoints-fedimg.py.j2
@@ -4,6 +4,8 @@ suffix = 'stg.phx2.fedoraproject.org'
suffix = 'phx2.fedoraproject.org'
{% endif %}
+# REMEMBER -- if you change these, you need to also change the iptables rules in
+# inventory/groups/fedimg and inventory/groups/fedimsg-stg
primary_threads = 4
atomic_threads = 2
NUM_FEDIMG_PORTS = 2 * ((primary_threads + atomic_threads) + 1)