Set the max priority for the robosig queue

Signed-off-by: Aurélien Bompard <aurelien@bompard.org>
This commit is contained in:
Aurélien Bompard
2023-05-03 09:26:23 +02:00
parent f6b49b93b0
commit b57f90327c
3 changed files with 3 additions and 0 deletions

View File

@@ -62,6 +62,7 @@
- role: rabbit/queue
username: "robosignatory{{ env_suffix }}"
queue_name: "robosignatory{{ env_suffix }}"
max_priority: 5
routing_keys:
- "org.fedoraproject.*.pungi.compose.ostree"
- "org.fedoraproject.*.coreos.build.request.artifacts-sign"

View File

@@ -3,6 +3,7 @@ vhost: /pubsub
default_exchange: amq.topic
routing_keys: []
message_ttl: null
max_priority: null
thresholds:
warning: 10000
critical: 100000

View File

@@ -86,6 +86,7 @@
auto_delete: no
durable: yes
message_ttl: "{{ message_ttl }}"
max_priority: "{{ max_priority }}"
state: present
login_user: admin
login_password: "{{ (env == 'production')|ternary(rabbitmq_admin_password_production, rabbitmq_admin_password_staging) }}"