parent
8df675b378
commit
9f5fd276e2
8 changed files with 26 additions and 46 deletions
|
@ -99,18 +99,5 @@ config = dict(
|
|||
],
|
||||
|
||||
# koji is not listed here since it publishes to the fedmsg-relay
|
||||
|
||||
|
||||
# Dynamically generate endpoint declarations from our wsgi app vars.
|
||||
# Eventually, replace *all* fedmsg endpoint definitions with this one loop
|
||||
{% for host in groups['all'] %}
|
||||
{% if 'fedmsg_wsgi_service' in hostvars[host] %}
|
||||
"{{hostvars[host]['fedmsg_wsgi_service']}}.{{hostvars[host].split('.')|first}}": [
|
||||
{% for i in range(wsgi_procs * wsgi_threads) %}
|
||||
"tcp://{{host}}:30{{%02d % i}}",
|
||||
{% endfor %}
|
||||
],
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
},
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue