LP#1705731: background batch MARC edits now report status less verbosely user/gmcharlt/lp1705731_slim_batch_edit_progress_reporting
authorGalen Charlton <gmc@equinoxinitiative.org>
Thu, 20 Jul 2017 20:17:12 +0000 (16:17 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Fri, 21 Jul 2017 16:04:01 +0000 (12:04 -0400)
commite45f51b75ec5c0395aa9f83a1262a05f9575ca33
tree1ad74172da6220a355024f1de504616f3cb89575
parentb287eedbf97e5ed0aa85c52cf194e826a80f4012
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>
Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/TemplateBatchBibUpdate.pm