mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-28 04:22:18 +08:00
Revert "remove fedmsg variables which define endpoints on other fedmsg systems"
We need to keep these variables defined as they are used in the .wsgi files
to set the number of procs and threads for apache.
This reverts commit 6e92ba25a7.
This commit is contained in:
@@ -5,6 +5,14 @@ num_cpus: 2
|
||||
|
||||
freezes: true
|
||||
|
||||
# Definining these vars has a number of effects
|
||||
# 1) mod_wsgi is configured to use the vars for its own setup
|
||||
# 2) iptables opens enough ports for all threads for fedmsg
|
||||
# 3) roles/fedmsg/base/ declares enough fedmsg endpoints for all threads
|
||||
wsgi_fedmsg_service: odcs
|
||||
wsgi_procs: 2
|
||||
wsgi_threads: 2
|
||||
|
||||
tcp_ports: [
|
||||
80,
|
||||
# These ports all required for gluster
|
||||
|
||||
@@ -6,6 +6,14 @@ num_cpus: 2
|
||||
# Set this to True for the F28 release and onwards.
|
||||
freezes: false
|
||||
|
||||
# Definining these vars has a number of effects
|
||||
# 1) mod_wsgi is configured to use the vars for its own setup
|
||||
# 2) iptables opens enough ports for all threads for fedmsg
|
||||
# 3) roles/fedmsg/base/ declares enough fedmsg endpoints for all threads
|
||||
wsgi_fedmsg_service: odcs
|
||||
wsgi_procs: 2
|
||||
wsgi_threads: 2
|
||||
|
||||
tcp_ports: [
|
||||
80,
|
||||
# These ports all required for gluster
|
||||
|
||||
@@ -9,6 +9,14 @@ tcp_ports: [ 80, 443 ]
|
||||
# To make things easy on the listening side (so avoid contention of binding ports), let's set the pkgs boxes to active fedmsg.
|
||||
fedmsg_active: True
|
||||
|
||||
# Definining these vars has a number of effects
|
||||
# 1) mod_wsgi is configured to use the vars for its own setup
|
||||
# 2) iptables opens enough ports for all threads for fedmsg
|
||||
# 3) roles/fedmsg/base/ declares enough fedmsg endpoints for all threads
|
||||
wsgi_fedmsg_service: pagure
|
||||
wsgi_procs: 6
|
||||
wsgi_threads: 6
|
||||
|
||||
pagure_static_uid: 600
|
||||
|
||||
|
||||
|
||||
@@ -5,6 +5,13 @@ max_mem_size: 32768
|
||||
num_cpus: 4
|
||||
|
||||
tcp_ports: [ 80, 443, 8444, 8443, 8445 ]
|
||||
# Definining these vars has a number of effects
|
||||
# 1) mod_wsgi is configured to use the vars for its own setup
|
||||
# 2) iptables opens enough ports for all threads for fedmsg
|
||||
# 3) roles/fedmsg/base/ declares enough fedmsg endpoints for all threads
|
||||
wsgi_fedmsg_service: pagure
|
||||
wsgi_procs: 4
|
||||
wsgi_threads: 4
|
||||
|
||||
pagure_static_uid: 600
|
||||
|
||||
|
||||
Reference in New Issue
Block a user