From 1e004c12525d422721a8ec088ddd4f07dfde516c Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 8 Jul 2024 13:29:46 -0400 Subject: [PATCH] AMQP: Add more routing keys for ELNBuildSync EBS expects to receive notifications for task state changes as well as the start of repo regeneration. Otherwise, it has to fall back to polling, which is much slower (and what it has been doing for some time now). Signed-off-by: Stephen Gallagher --- roles/rabbitmq_cluster/tasks/apps.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/rabbitmq_cluster/tasks/apps.yml b/roles/rabbitmq_cluster/tasks/apps.yml index 7c9f61ca81..d11326877f 100644 --- a/roles/rabbitmq_cluster/tasks/apps.yml +++ b/roles/rabbitmq_cluster/tasks/apps.yml @@ -158,8 +158,10 @@ # TTL: 10 days (in miliseconds) message_ttl: 864000000 routing_keys: + - "#.buildsys.repo.init" - "#.buildsys.repo.done" - "#.buildsys.tag" + - "#.buildsys.task.state.change" # ELN END