https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32481 Julian Maurice <julian.maurice@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |julian.maurice@biblibre.com --- Comment #6 from Julian Maurice <julian.maurice@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.