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> |
||
---|---|---|
.. | ||
holds | ||
recalls | ||
rss | ||
social_data | ||
thirdparty | ||
advance_notices.pl | ||
archive_purchase_suggestions.pl | ||
automatic_checkin.pl | ||
automatic_item_modification_by_age.pl | ||
automatic_renewals.pl | ||
backup.sh | ||
batch_anonymise.pl | ||
build_browser_and_cloud.pl | ||
cart_to_shelf.pl | ||
check-url-quick.pl | ||
cleanup_database.pl | ||
cloud-kw.pl | ||
cloud-sample.conf | ||
CONFIGURE.gmail | ||
create_koc_db.pl | ||
crontab.example | ||
debar_patrons_with_fines.pl | ||
delete_items.pl | ||
delete_patrons.pl | ||
delete_records_via_leader.pl | ||
edi_cron.pl | ||
erm_run_harvester.pl | ||
fines.pl | ||
gather_print_notices.pl | ||
import_webservice_batch.pl | ||
longoverdue.pl | ||
membership_expiry.pl | ||
merge_authorities.pl | ||
notice_unprocessed_suggestions.pl | ||
overdue_notices.pl | ||
patron_emailer.pl | ||
plugins_nightly.pl | ||
printoverdues.sh | ||
process_message_queue.pl | ||
purge_suggestions.pl | ||
reconcile_balances.pl | ||
remove_temporary_edifiles.pl | ||
runreport.pl | ||
serialsUpdate.pl | ||
share_usage_with_koha_community.pl | ||
sitemap.pl | ||
staticfines.pl | ||
stockrotation.pl | ||
update_patrons_category.pl | ||
update_totalissues.pl | ||
writeoff_debts.pl |