[Koha-bugs] [Bug 32558] Allow background_jobs_worker.pl to process multiple jobs simultaneously up to a limit

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 3 11:31:40 CET 2023


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

--- Comment #36 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Theoretical add a wait_all_children:

diff --git a/misc/background_jobs_worker.pl b/misc/background_jobs_worker.pl
index 1b2d6309d9..89f51042cf 100755
--- a/misc/background_jobs_worker.pl
+++ b/misc/background_jobs_worker.pl
@@ -156,6 +156,7 @@ while (1) {
         sleep 10;
     }
 }
+$pm->wait_all_children;
 $conn->disconnect;

 sub process_job {

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


More information about the Koha-bugs mailing list