Koha/debian/templates
Kyle M Hall 95a5d612f3 Bug 32558: Add ability for background_jobs_worker.pl to process multiple jobs simultaneously up to a limit
Right now background_jobs_worker.pl only processes jobs in serial. It would make sense to handle jobs in parallel up to a user definable limit.

Test Plan:
1) Apply this patch
2) Stop background_jobs_worker.pl
3) Generate some background jobs by editing records, placing holds, etc
4) Watch processes in a new terminal: watch -n 0.1 'ps aux | grep background_jobs_worker.pl'
5) Run background_jobs_worker.pl with parameter -m 3 or some other
   number of max processes
6) Note the multiple forked processes in the ps output

Test notes - also tested the following on KTD:
1. Stop background_jobs_worker.pl
2. Edit /etc/koha/sites/kohadev/koha-conf.xml - set max_processes to 10
3. Generate some background jobs
4. Watch processes in a new terminal: watch -n 0.1 'ps aux | grep background_jobs_worker.pl'
5. Restart all
6. Confirm multiple forked processes in the ps output

Both methods work as expected and generate multiple forked processes
based on the value set for max processes.

Signed-off-by: emlam <emily.lamancusa@montgomerycountymd.gov>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 311d68815f)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
2023-03-07 18:12:49 +00:00
..
apache-shared-disable.conf
apache-shared-intranet-plack.conf Bug 27421: Commit and revert 2022-09-19 15:14:56 -03:00
apache-shared-intranet.conf Bug 32030: Add Apache RewriteRule 2022-11-08 09:43:48 -03:00
apache-shared-opac-plack.conf Bug 21267: Set X-FORWARDED-PROTO https if required 2018-08-31 12:46:58 +00:00
apache-shared-opac.conf Bug 25548: Remove Apache rewrite directives that trigger redirects 2020-11-20 14:23:52 +01:00
apache-shared.conf Bug 16520: Add new Plack-SetEnv syntax to Apache configuration files 2016-10-11 12:37:16 +00:00
apache-site-https.conf.in Bug 18670: Remove RewriteLog and RewriteLogLevel from sample config files 2020-05-05 10:59:03 +01:00
apache-site.conf.in Bug 18670: Remove RewriteLog and RewriteLogLevel from sample config files 2020-05-05 10:59:03 +01:00
koha-common.conf Bug 10942: (follow-up) debconfing the update option 2014-04-24 12:49:32 +00:00
koha-conf-site.xml.in Bug 32558: Add ability for background_jobs_worker.pl to process multiple jobs simultaneously up to a limit 2023-03-07 18:12:49 +00:00
koha-core.conf Bug 26672: Add additional koha-core and koha-full files to ./debian 2020-11-25 16:18:03 +01:00
koha-sites.conf Bug 18984: Remove NORMARC support 2021-10-07 15:36:40 +02:00
koha-worker@.service Bug 27844: Launch koha-worker systemd service as koha linux user 2021-05-17 12:34:33 +02:00
log4perl-site.conf.in Bug 32612: (QA follow-up) Remove more unneeded appender lines 2023-02-06 15:54:49 +00:00
marc21-retrieval-info-auth-dom.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
marc21-retrieval-info-bib-dom.xml Bug 17871: (followup) Remove zebra::* from the packages templates 2017-02-07 17:50:42 +00:00
plack.psgi Bug 22824: Remove C4::Boolean, true_p, boolean_preference, etc. 2021-03-04 16:18:42 +01:00
SIPconfig.xml Bug 31296: (QA follow-up) Add to debian templates 2022-08-08 13:13:26 -03:00
unimarc-retrieval-info-auth-dom.xml Bug 9256 - Fix search for the packages 2013-03-19 19:34:12 -04:00
unimarc-retrieval-info-bib-dom.xml Bug 17871: (followup) Remove zebra::* from the packages templates 2017-02-07 17:50:42 +00:00
zebra-authorities-dom-site.cfg.in Bug 12216: One should be able to override zebra config 2015-08-03 11:59:03 -03:00
zebra-biblios-dom-site.cfg.in Bug 12216: One should be able to override zebra config 2015-08-03 11:59:03 -03:00
zebra.passwd.in Add scripts to start, stop, restart Zebra, and rebuild its indexes. 2010-05-25 07:59:39 -04:00