Bugzilla – Attachment 145134 Details for
Bug 32481
Rabbit times out when too many jobs are queued and the response takes too long
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32481: Use correct prefetch syntax for RabbitMQ
Bug-32481-Use-correct-prefetch-syntax-for-RabbitMQ.patch (text/plain), 1.11 KB, created by
David Cook
on 2023-01-09 00:58:12 UTC
(
hide
)
Description:
Bug 32481: Use correct prefetch syntax for RabbitMQ
Filename:
MIME Type:
Creator:
David Cook
Created:
2023-01-09 00:58:12 UTC
Size:
1.11 KB
patch
obsolete
>From 4b0cb7fc66f3d099a40a2d0bbe1c7969a86cf128 Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Mon, 9 Jan 2023 00:56:29 +0000 >Subject: [PATCH] Bug 32481: Use correct prefetch syntax for RabbitMQ > >According to https://www.rabbitmq.com/stomp.html the header to >use for managing the prefetch is "prefetch-count". > >You can verify the number of delivered and unacknowledged messages >on a channel on a connection by running "rabbitmqctl list_channels" >on the RabbitMQ host. This will tell you how many messages have been >delivered and are awaiting acknowledgement >--- > misc/background_jobs_worker.pl | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/misc/background_jobs_worker.pl b/misc/background_jobs_worker.pl >index 16eb99ec06..14f667aea8 100755 >--- a/misc/background_jobs_worker.pl >+++ b/misc/background_jobs_worker.pl >@@ -81,7 +81,7 @@ if ( $conn ) { > $conn->subscribe({ > destination => sprintf("/queue/%s-%s", $namespace, $queue), > ack => 'client', >- 'activemq.prefetchSize' => 1, >+ 'prefetch-count' => 1, > }); > } > } >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32481
:
144809
|
145082
|
145134
|
145173
|
145208