]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1705731: background batch MARC edits now report status less verbosely
authorGalen Charlton <gmc@equinoxinitiative.org>
Thu, 20 Jul 2017 20:17:12 +0000 (16:17 -0400)
committerBill Erickson <berickxx@gmail.com>
Fri, 21 Jul 2017 16:23:44 +0000 (12:23 -0400)
commit12e8af8bf4209fb8e99382294b3badf97ba91c79
tree096e965824aeadf249383bfe4dc98542520492ba
parentd17aa5b825261cbaf1614fd7fcfbb86026fcd410
LP#1705731: background batch MARC edits now report status less verbosely

Rather than repeatedly inserting and fetching potentially
very large arrays of per-record status statements from the
anon cache, batch MARC edits that are run in the background
now report counts.

This patch changes how open-ils.cat.container.template_overlay.background
populates the anonymous cache; note that streaming status updates
if calling open-ils.cat.container.template_overlay instead are
*not* changed.

To test
-------
[1] Set up a MARC Batch Edit run using a reasonably large bucket
    as a source records.
[2] Verify that progress is reported correctly during the run.

Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/TemplateBatchBibUpdate.pm