Greenwave: use env_suffix in the queue name
Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
58bf263346
commit
9c12bb195d
2 changed files with 3 additions and 4 deletions
|
@ -10,10 +10,9 @@
|
||||||
|
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
|
|
||||||
- role: rabbit/queue
|
- role: rabbit/queue
|
||||||
username: greenwave{{ env_suffix }}
|
username: greenwave{{ env_suffix }}
|
||||||
queue_name: greenwave
|
queue_name: greenwave{{ env_suffix }}
|
||||||
routing_keys:
|
routing_keys:
|
||||||
- "org.fedoraproject.*.taskotron.result.new"
|
- "org.fedoraproject.*.taskotron.result.new"
|
||||||
- "org.fedoraproject.*.waiver.new"
|
- "org.fedoraproject.*.waiver.new"
|
||||||
|
|
|
@ -11,7 +11,7 @@ callback = "greenwave.consumers.fedora_messaging_consumer:fedora_messaging_callb
|
||||||
# Note the double brackets below.
|
# Note the double brackets below.
|
||||||
# To add another binding, add another [[bindings]] section.
|
# To add another binding, add another [[bindings]] section.
|
||||||
[[bindings]]
|
[[bindings]]
|
||||||
queue = "greenwave"
|
queue = "greenwave{{ env_suffix }}"
|
||||||
exchange = "amq.topic"
|
exchange = "amq.topic"
|
||||||
routing_keys = [
|
routing_keys = [
|
||||||
"org.fedoraproject.*.taskotron.result.new",
|
"org.fedoraproject.*.taskotron.result.new",
|
||||||
|
@ -26,7 +26,7 @@ certfile = "/etc/pki/rabbitmq/crt/greenwave.crt"
|
||||||
[client_properties]
|
[client_properties]
|
||||||
app = "greenwave"
|
app = "greenwave"
|
||||||
|
|
||||||
[queues.greenwave]
|
[queues."greenwave{{ env_suffix }}"]
|
||||||
durable = true
|
durable = true
|
||||||
auto_delete = false
|
auto_delete = false
|
||||||
exclusive = false
|
exclusive = false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue