[Koha-bugs] [Bug 35819] "No job found" error for BatchUpdateBiblioHoldsQueue (race condition)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 31 13:40:46 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35819

--- Comment #32 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Comment on attachment 161267
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=161267
Bug 35819: nack and not requeue if frame is invalid

Review of attachment 161267:
 --> (https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=35819&attachment=161267)
-----------------------------------------------------------------

::: misc/workers/background_jobs_worker.pl
@@ +125,5 @@
>          };
>  
> +        unless ( $args ) {
> +            Koha::Logger->get({ interface => 'worker' })->warn(sprintf "Frame does not have correct args, ignoring it");
> +            $conn->nack( { frame => $frame, requeue => 'false' } );

This is great! I didn't manage to make it work properly!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list