[Koha-bugs] [Bug 32481] Rabbit times out when too many jobs are queued and the response takes too long
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Dec 21 09:32:10 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32481
Julian Maurice <julian.maurice at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |julian.maurice at biblibre.com
--- Comment #6 from Julian Maurice <julian.maurice at biblibre.com> ---
(In reply to David Cook from comment #3)
> According to the RabbitMQ Work Queues tutorial, we're doing the right thing
> by ACKing after the message has been processed.
According to that tutorial, this allows RabbitMQ to redeliver the message to
another worker. But do we really want that ? A background job should not be
restarted if it failed, because it might fail forever, or because by running it
more than once it might do unwanted modifications to the database.
I believe that the background job worker should acknowledge the message as soon
as it receives it.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list