Nick Clemens
3d385d0e11
The cron can take a very long time to run on systems with many issues. For example, a partner with ~250k auto_renew issues is taking about 9 hours to run. If we run that same number of issues in 5 parallel chunks ( splitting the number of issues as evenly as possible ), it could take under 2 hours. Test Plan: 1) Generate a number of issues marked for auto_renew 2) Run the automatic_renewals.pl, use the `time` utility to track how much time it took to run 3) Set parallel_loops to 10 in auto_renew_cronjob section of config in koha-conf 4) Repeat step 2, note the improvement in speed 5) Experiment with other values Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de> |
||
---|---|---|
.. | ||
apache-shared-disable.conf | ||
apache-shared-intranet-plack.conf | ||
apache-shared-intranet.conf | ||
apache-shared-opac-plack.conf | ||
apache-shared-opac.conf | ||
apache-shared.conf | ||
apache-site-https.conf.in | ||
apache-site.conf.in | ||
koha-common.conf | ||
koha-conf-site.xml.in | ||
koha-core.conf | ||
koha-sites.conf | ||
koha-worker@.service | ||
log4perl-site.conf.in | ||
marc21-retrieval-info-auth-dom.xml | ||
marc21-retrieval-info-bib-dom.xml | ||
plack.psgi | ||
SIPconfig.xml | ||
unimarc-retrieval-info-auth-dom.xml | ||
unimarc-retrieval-info-bib-dom.xml | ||
zebra-authorities-dom-site.cfg.in | ||
zebra-biblios-dom-site.cfg.in | ||
zebra.passwd.in |