]> git.koha-community.org Git - koha.git/commit
Bug 35819: nack and not requeue if frame is invalid
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 23 Jan 2024 09:14:21 +0000 (10:14 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Mon, 11 Mar 2024 09:52:34 +0000 (10:52 +0100)
commit87e3d35e84dbfe4f2bc3b7b8d67bd54e38cdc64b
treea9816f5a4ffc9bdf0f17a90b99f0840271dde684
parentb1efcf3d15680493828894b7c1c0cb9557be1cb8
Bug 35819: nack and not requeue if frame is invalid

If a frame cannot be correctly processed (most probably because the body
is not valid JSON) then we are not acking or nacking the frame and the
worker is stuck.

In this specific case we should nack without requeuing the frame.

NOTE that requeue must be 'true' or 'false', not 1 or 0, or the default
'true' will be used.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 83940925685af338be659ef7baa04a40bed9d97d)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
misc/workers/background_jobs_worker.pl