[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:42:34 CET 2024


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

--- Comment #33 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Comment on attachment 161527
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=161527
Bug 35819: Improve logging

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

::: misc/workers/background_jobs_worker.pl
@@ +73,4 @@
>  $max_processes ||= C4::Context->config('background_jobs_worker')->{max_processes} if C4::Context->config('background_jobs_worker');
>  $max_processes ||= 1;
>  
> +my $not_found_retries = {};

This will only work for a single worker, right?

I think it is a good compromise approach, and running multiple workers would
just make it retry more in the worst case.

Just noting it.

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


More information about the Koha-bugs mailing list