From c17608e1c18cb9f02892cb0aba1e46a145a217ac Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Tue, 30 Apr 2024 11:22:14 +0200 Subject: [PATCH] Enable requeue_on_nack for rabbitmq task queue backend --- server/svix-server/src/queue/rabbitmq.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/svix-server/src/queue/rabbitmq.rs b/server/svix-server/src/queue/rabbitmq.rs index bc7886cf5..e452a60dd 100644 --- a/server/svix-server/src/queue/rabbitmq.rs +++ b/server/svix-server/src/queue/rabbitmq.rs @@ -74,7 +74,7 @@ pub async fn new_pair( // "global" enforces the same limit for other consumers on the channel, which isn't // necessarily what we want consume_prefetch_count: Some(prefetch_size), - requeue_on_nack: false, // TODO + requeue_on_nack: true, }) .build_pair() .await